Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Refresh database list after dropping database

  • Loading branch information...
commit e139f945613687e5ecd216d0121f08b69184eba4 1 parent 50528be
@vrana authored
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');
}
Please sign in to comment.
Something went wrong with that request. Please try again.