Skip to content

Commit

Permalink
Refresh database list after dropping database
Browse files Browse the repository at this point in the history
  • Loading branch information
vrana committed Mar 27, 2013
1 parent 50528be commit e139f94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions adminer/drivers/mysql.inc.php
Expand Up @@ -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');
}
Expand Down

0 comments on commit e139f94

Please sign in to comment.