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/scaffold.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/controllers/scaffold.php') diff --git a/core/controllers/scaffold.php b/core/controllers/scaffold.php index 554d576c..cdbe0f95 100644 --- a/core/controllers/scaffold.php +++ b/core/controllers/scaffold.php @@ -509,8 +509,8 @@ class Scaffold_Controller extends Template_Controller { // We now have a clean install with just the packages that we want. Make sure that the // database is clean too. $db = Database::instance(); - $db->query("TRUNCATE `[sessions]`"); - $db->query("TRUNCATE `[logs]`"); + $db->query("TRUNCATE {sessions}"); + $db->query("TRUNCATE {logs}"); $db->update("users", array("password" => ""), array("id" => 2)); $dbconfig = Kohana::config('database.default'); -- cgit v1.2.3