Minor bug due to which the ajax response to revoke users was failing. Fixed it

This commit is contained in:
ninadsp
2010-07-23 00:23:38 +05:30
parent 4054332641
commit 13ec1423f6

View File

@@ -1278,7 +1278,10 @@ if (isset($_REQUEST['delete']) || (isset($_REQUEST['change_copy']) && $_REQUEST[
if (isset($_REQUEST['drop_users_db'])) { if (isset($_REQUEST['drop_users_db'])) {
$queries[] = 'DROP DATABASE IF EXISTS ' . PMA_backquote($this_user) . ';'; $queries[] = 'DROP DATABASE IF EXISTS ' . PMA_backquote($this_user) . ';';
$GLOBALS['reload'] = TRUE; $GLOBALS['reload'] = TRUE;
PMA_reloadNavigation();
if($GLOBALS['is_ajax_request'] != true) {
PMA_reloadNavigation();
}
} }
} }
if (empty($_REQUEST['change_copy'])) { if (empty($_REQUEST['change_copy'])) {