Changeset 2491:3e71f78cbdb1
- Timestamp:
- 10/25/13 01:00:04 (12 years ago)
- Branch:
- 2.6
- Location:
- plugins/maintenance
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/maintenance/inc/class.dc.maintenance.task.php
r2044 r2491 56 56 $this->core = $maintenance->core; 57 57 $this->init(); 58 $this->id = null; 58 59 59 60 if ($this->perm() === null && !$this->core->auth->isSuperAdmin() -
plugins/maintenance/index.php
r2483 r2491 74 74 75 75 foreach($tasks as $t) { 76 if (!$t->id()) { 77 continue; 78 } 79 76 80 if (!empty($_POST['settings_recall_type']) && $_POST['settings_recall_type'] == 'all') { 77 81 $ts = $_POST['settings_recall_time']; … … 201 205 foreach($tasks as $t) 202 206 { 203 if ($t->group() != $group_obj->id() 207 if (!$t->id() 208 || $t->group() != $group_obj->id() 204 209 || $t->tab() != $tab_obj->id()) { 205 210 continue; … … 263 268 foreach($tasks as $t) 264 269 { 265 if ( $t->group() !== null) {270 if (!$t->id() || $t->group() !== null) { 266 271 continue; 267 272 } … … 313 318 foreach($tasks as $t) 314 319 { 320 if (!$t->id()) { 321 continue; 322 } 315 323 echo 316 324 '<div class="two-boxes">'.
Note: See TracChangeset
for help on using the changeset viewer.