Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2015-10-03 17:14:29 +0300
committerMarc Delisle <marc@infomarc.info>2015-10-03 17:14:29 +0300
commitfd7c8522ea4cca807d0a6cdaf8ee5e4e8d57dc3b (patch)
treeddcb6be4068801fdd628c25de85fd317de0d9c1c /server_privileges.php
parent5eef3a9b604050fac1e4d34be1f50b57e61aaeec (diff)
Clarify method name
Signed-off-by: Marc Delisle <marc@infomarc.info>
Diffstat (limited to 'server_privileges.php')
-rw-r--r--server_privileges.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/server_privileges.php b/server_privileges.php
index 79e20b3bbd..a1b4c40c70 100644
--- a/server_privileges.php
+++ b/server_privileges.php
@@ -139,7 +139,7 @@ if (isset($_REQUEST['change_copy']) && $username == $_REQUEST['old_username']
$response->addHTML(
PMA_Message::error(__('Username and hostname didn\'t change.'))->getDisplay()
);
- $response->isSuccess(false);
+ $response->setRequestStatus(false);
exit;
}
@@ -305,7 +305,7 @@ if ($GLOBALS['is_ajax_request']
if (! empty($message) && $message instanceof PMA_Message) {
$response = PMA_Response::getInstance();
- $response->isSuccess($message->isSuccess());
+ $response->setRequestStatus($message->isSuccess());
$response->addJSON('message', $message);
$response->addJSON($extra_data);
exit;