Minor bug due to which the ajax response to revoke users was failing. Fixed it
This commit is contained in:
@@ -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'])) {
|
||||||
|
Reference in New Issue
Block a user