mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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
This commit is contained in:
parent
1588da54d8
commit
737701007a
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user