mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 09:34:10 +02:00
Refresh database list after dropping database
This commit is contained in:
@@ -550,6 +550,7 @@ if (!defined("DRIVER")) {
|
|||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
function drop_databases($databases) {
|
function drop_databases($databases) {
|
||||||
|
restart_session();
|
||||||
set_session("dbs", null);
|
set_session("dbs", null);
|
||||||
return apply_queries("DROP DATABASE", $databases, 'idf_escape');
|
return apply_queries("DROP DATABASE", $databases, 'idf_escape');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user