diff options
author | Michal Čihař <michal@cihar.com> | 2017-05-10 00:43:39 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2017-05-10 00:43:39 +0300 |
commit | d10cf083933c0ef189a3327d50c00e08f568bba7 (patch) | |
tree | e8704553dc44692afc0534ba7a8e15440d9fcda9 /user_password.php | |
parent | dbcbee5336cfe3b564e56d53da6cf26c06559ea4 (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.php | 1 |
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); |