From c04ff8e02f01691dc2e325efc523e43f3aebaf95 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sat, 28 Feb 2009 06:37:28 +0000 Subject: Change the pattern to identify tables that need prefix substitution to mirror the drupal pattern of using braces {}. --- core/controllers/admin_maintenance.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/controllers/admin_maintenance.php') diff --git a/core/controllers/admin_maintenance.php b/core/controllers/admin_maintenance.php index e24cc50b..6f553161 100644 --- a/core/controllers/admin_maintenance.php +++ b/core/controllers/admin_maintenance.php @@ -23,7 +23,7 @@ class Admin_Maintenance_Controller extends Admin_Controller { */ public function index() { $query = Database::instance()->query( - "UPDATE `tasks` SET `state` = 'stalled' " . + "UPDATE {tasks} SET `state` = 'stalled' " . "WHERE done = 0 " . "AND state <> 'stalled' " . "AND unix_timestamp(now()) - updated > 120"); -- cgit v1.2.3