From 622da5f3cdf7ccb979334e42e115f0538c8dd00b Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Fri, 16 Jan 2009 05:01:22 +0000 Subject: Rename Task to Task_Definition to avoid confusion with Task_Model. Order the finished tasks by update time in the task list. --- core/helpers/core_task.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/helpers/core_task.php') 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 ? -- cgit v1.2.3