diff options
Diffstat (limited to 'core/helpers')
-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 ? |