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:
authorMichal Čihař <michal@cihar.com>2017-05-10 00:43:39 +0300
committerMichal Čihař <michal@cihar.com>2017-05-10 00:43:39 +0300
commitd10cf083933c0ef189a3327d50c00e08f568bba7 (patch)
treee8704553dc44692afc0534ba7a8e15440d9fcda9 /user_password.php
parentdbcbee5336cfe3b564e56d53da6cf26c06559ea4 (diff)
Avoid duplicating $response
We need to get it just once, see https://github.com/phpmyadmin/phpmyadmin/issues/13154#issuecomment-300301726 Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'user_password.php')
-rw-r--r--user_password.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/user_password.php b/user_password.php
index bbdcc6af28..5cd725cd4e 100644
--- a/user_password.php
+++ b/user_password.php
@@ -89,7 +89,6 @@ function PMA_getChangePassMessage($change_password_message, $sql_query = '')
/**
* If in an Ajax request, we don't need to show the rest of the page
*/
- $response = Response::getInstance();
if ($change_password_message['error']) {
$response->addJSON('message', $change_password_message['msg']);
$response->setRequestStatus(false);