Standardize to uppercase DESC in the order by method calls

This commit is contained in:
Tim Almdal
2009-02-22 17:36:58 +00:00
parent d61691fd95
commit 95fc61c9a8
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -60,9 +60,9 @@ class Admin_Maintenance_Controller extends Admin_Controller {
$view->content = new View("admin_maintenance.html");
$view->content->task_definitions = $this->_get_task_definitions();
$view->content->running_tasks =
ORM::factory("task")->where("done", 0)->orderby("updated", "desc")->find_all();
ORM::factory("task")->where("done", 0)->orderby("updated", "DESC")->find_all();
$view->content->finished_tasks =
ORM::factory("task")->where("done", 1)->orderby("updated", "desc")->find_all();
ORM::factory("task")->where("done", 1)->orderby("updated", "DESC")->find_all();
$view->content->csrf = access::csrf_token();
print $view;
}