Rename DBA::database_name to DBA::databaseName

This commit is contained in:
Hypolite Petovan 2018-07-20 22:00:16 -04:00
parent abbaaf5aa5
commit 591939dfc0
3 changed files with 3 additions and 3 deletions

View file

@ -26,7 +26,7 @@ class DBStructure
*/
public static function convertToInnoDB() {
$r = q("SELECT `TABLE_NAME` FROM `information_schema`.`tables` WHERE `engine` = 'MyISAM' AND `table_schema` = '%s'",
dbesc(DBA::database_name()));
dbesc(DBA::databaseName()));
if (!DBM::is_result($r)) {
echo L10n::t('There are no tables on MyISAM.')."\n";