From 737701007a3d967bb2e6b7014a2106a4f1158204 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Wed, 16 Dec 2009 05:35:15 +0000 Subject: [PATCH] BUGFIX fixed reference to incorrect class (from r94061) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95583 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/model/MySQLDatabase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/model/MySQLDatabase.php b/core/model/MySQLDatabase.php index f2a91f504..de2e7efe5 100755 --- a/core/model/MySQLDatabase.php +++ b/core/model/MySQLDatabase.php @@ -282,7 +282,7 @@ class MySQLDatabase extends SS_Database { public function checkAndRepairTable($tableName) { if(!$this->runTableCheckCommand("CHECK TABLE \"$tableName\"")) { if($this->runTableCheckCommand("CHECK TABLE \"".strtolower($tableName)."\"")){ - Database::alteration_message("Table $tableName: renamed from lowercase","repaired"); + DB::alteration_message("Table $tableName: renamed from lowercase","repaired"); return $this->renameTable(strtolower($tableName),$tableName); }