make the database list more magic:
load/fetch only if really required use SPL ArrayObject to behave like an array
This commit is contained in:
@@ -53,7 +53,7 @@ if (strlen($db) && (! empty($db_rename) || ! empty($db_copy))) {
|
||||
|
||||
// rebuild the database list because PMA_Table::moveCopy
|
||||
// checks in this list if the target db exists
|
||||
$GLOBALS['PMA_List_Database']->build();
|
||||
$GLOBALS['pma']->databases->build();
|
||||
}
|
||||
|
||||
if (isset($GLOBALS['add_constraints'])) {
|
||||
|
Reference in New Issue
Block a user