diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-03-05 06:38:11 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-03-05 06:38:11 +0000 |
commit | 23937ff1355f3f47f5b42dc3718db1615809371b (patch) | |
tree | 8702b9645ef24e9d789edb83eb67354e84041729 /core/controllers/admin_maintenance.php | |
parent | 898ac3ac359258ccb0958f5be420d17a9a264fec (diff) |
Avoid using default task types. Require task::get_definitions() to
specify a single type and ask for it appropriately in
admin_maintenance. Specify a type for every existing task.
Diffstat (limited to 'core/controllers/admin_maintenance.php')
-rw-r--r-- | core/controllers/admin_maintenance.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/controllers/admin_maintenance.php b/core/controllers/admin_maintenance.php index 315e2d63..c98251bc 100644 --- a/core/controllers/admin_maintenance.php +++ b/core/controllers/admin_maintenance.php @@ -40,7 +40,7 @@ class Admin_Maintenance_Controller extends Admin_Controller { $view = new Admin_View("admin.html"); $view->content = new View("admin_maintenance.html"); - $view->content->task_definitions = task::get_definitions(array("admin", "both")); + $view->content->task_definitions = task::get_definitions("admin"); $view->content->running_tasks = ORM::factory("task") ->select("tasks.*", "users.name as user_name") ->join("users", "tasks.owner_id", "users.id") |