From e3c1ec7fe356c2b40a0a41925da0a68b130e748c Mon Sep 17 00:00:00 2001 From: Tom Rix Date: Mon, 30 Nov 2009 21:47:16 +0000 Subject: [PATCH] BUGFIX fixed reference to incorrect class git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@94061 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); }