From 13ec1423f61e613e653872f3066ca7c9032306d1 Mon Sep 17 00:00:00 2001 From: ninadsp Date: Fri, 23 Jul 2010 00:23:38 +0530 Subject: [PATCH] Minor bug due to which the ajax response to revoke users was failing. Fixed it --- server_privileges.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server_privileges.php b/server_privileges.php index 317186038..5f6c7e962 100755 --- a/server_privileges.php +++ b/server_privileges.php @@ -1278,7 +1278,10 @@ if (isset($_REQUEST['delete']) || (isset($_REQUEST['change_copy']) && $_REQUEST[ if (isset($_REQUEST['drop_users_db'])) { $queries[] = 'DROP DATABASE IF EXISTS ' . PMA_backquote($this_user) . ';'; $GLOBALS['reload'] = TRUE; - PMA_reloadNavigation(); + + if($GLOBALS['is_ajax_request'] != true) { + PMA_reloadNavigation(); + } } } if (empty($_REQUEST['change_copy'])) {