Change the pattern to identify tables that need prefix substitution to

mirror the drupal pattern of using braces {}.
This commit is contained in:
Tim Almdal
2009-02-28 06:37:28 +00:00
parent ad56995baf
commit c04ff8e02f
21 changed files with 100 additions and 100 deletions
+1 -1
View File
@@ -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");