Skip to content
Browse files

Refresh database list after dropping database

  • Loading branch information...
1 parent 50528be commit e139f945613687e5ecd216d0121f08b69184eba4 @vrana committed Mar 27, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 adminer/drivers/mysql.inc.php
View
1 adminer/drivers/mysql.inc.php
@@ -550,6 +550,7 @@ function create_database($db, $collation) {
* @return bool
*/
function drop_databases($databases) {
+ restart_session();
set_session("dbs", null);
return apply_queries("DROP DATABASE", $databases, 'idf_escape');
}

0 comments on commit e139f94

Please sign in to comment.
Something went wrong with that request. Please try again.