mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-26 09:43:54 -04:00
Change the pattern to identify tables that need prefix substitution to
mirror the drupal pattern of using braces {}.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user