- Timestamp:
- 09/22/13 02:49:48 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/maintenance/inc/class.dc.maintenance.php
r1984 r1989 77 77 } 78 78 79 $this->tasks[$task] = new $task($this, 'plugin.php?p=maintenance'); 79 if (($t = new $task($this, 'plugin.php?p=maintenance')) === null 80 || $t->perm() === null && !$this->core->auth->isSuperAdmin() 81 || !$this->core->auth->check($t->perm(), $this->core->blog->id)) { 82 continue; 83 } 84 85 $this->tasks[$task] = $t; 80 86 } 81 87
Note: See TracChangeset
for help on using the changeset viewer.