mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-16 15:09:55 -04:00
Rename Task to Task_Definition to avoid confusion with Task_Model.
Order the finished tasks by update time in the task list.
This commit is contained in:
@@ -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 ?
|
||||
|
||||
Reference in New Issue
Block a user