Legend:
- Unmodified
- Added
- Removed
-
plugins/maintenance/inc/class.dc.maintenance.task.php
r1989 r2044 33 33 protected $id; 34 34 protected $name; 35 protected $description; 35 36 protected $tab = 'maintenance'; 36 37 protected $group = 'other'; … … 50 51 * @param p_url <b>string</b> Maintenance plugin url 51 52 */ 52 public function __construct($maintenance , $p_url)53 public function __construct($maintenance) 53 54 { 54 55 $this->maintenance = $maintenance; … … 61 62 } 62 63 63 $this->p_url = $ p_url;64 $this->p_url = $maintenance->p_url; 64 65 $this->id = get_class($this); 65 66 … … 191 192 192 193 /** 194 * Get task description. 195 * 196 * @return <b>string</b> Description 197 */ 198 public function description() 199 { 200 return $this->description; 201 } 202 203 /** 193 204 * Get task tab. 194 205 * … … 322 333 $this->maintenance->setLog($this->id); 323 334 } 335 336 public function help() 337 { 338 return null; 339 } 324 340 }
Note: See TracChangeset
for help on using the changeset viewer.