mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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
This commit is contained in:
parent
4ca6a29aad
commit
e3c1ec7fe3
@ -282,7 +282,7 @@ class MySQLDatabase extends SS_Database {
|
|||||||
public function checkAndRepairTable($tableName) {
|
public function checkAndRepairTable($tableName) {
|
||||||
if(!$this->runTableCheckCommand("CHECK TABLE \"$tableName\"")) {
|
if(!$this->runTableCheckCommand("CHECK TABLE \"$tableName\"")) {
|
||||||
if($this->runTableCheckCommand("CHECK TABLE \"".strtolower($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);
|
return $this->renameTable(strtolower($tableName),$tableName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user