diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-16 05:01:22 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-16 05:01:22 +0000 |
commit | 622da5f3cdf7ccb979334e42e115f0538c8dd00b (patch) | |
tree | fb63029be35bedc5ff7a15201c2f6b0c39522d3f /core/helpers/core_task.php | |
parent | 72fa5736ff611407c995aac19b06f6bf8c2f8a31 (diff) |
Rename Task to Task_Definition to avoid confusion with Task_Model.
Order the finished tasks by update time in the task list.
Diffstat (limited to 'core/helpers/core_task.php')
-rw-r--r-- | core/helpers/core_task.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/core_task.php b/core/helpers/core_task.php index 6e90035a..8ec3363e 100644 --- a/core/helpers/core_task.php +++ b/core/helpers/core_task.php @@ -20,7 +20,7 @@ class core_task_Core { static function available_tasks() { $dirty_count = graphics::find_dirty_images_query()->count(); - return array(Task::factory() + return array(Task_Definition::factory() ->callback("core_task::rebuild_dirty_images") ->name(t("Rebuild Images")) ->description($dirty_count ? |