Remove dead code

Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
Marc Delisle 2015-02-02 06:25:37 +01:00
parent 41d168afe2
commit be03cb3f27
4 changed files with 4 additions and 7 deletions

View File

@ -91,11 +91,10 @@ abstract class AuthenticationPlugin
*
* @param string $password New password to set
*
* @return array Additional URL parameters.
* @return void
*/
public function handlePasswordChange($password)
{
return array();
}
}
?>

View File

@ -844,11 +844,10 @@ class AuthenticationCookie extends AuthenticationPlugin
*
* @param string $password New password to set
*
* @return array Additional URL parameters.
* @return void
*/
public function handlePasswordChange($password)
{
$this->storePasswordCookie($password);
return array();
}
}

View File

@ -271,10 +271,9 @@ class AuthenticationHttp extends AuthenticationPlugin
*
* @param string $password New password to set
*
* @return array Additional URL parameters.
* @return void
*/
public function handlePasswordChange($password)
{
return array('old_usr' => 'relog');
}
}

View File

@ -137,7 +137,7 @@ function PMA_changePassword($password, $message, $change_password_message)
$password, $sql_query, $hashing_function
);
$url_params = $auth_plugin->handlePasswordChange($password);
$auth_plugin->handlePasswordChange($password);
PMA_getChangePassMessage($change_password_message, $sql_query);
PMA_changePassDisplayPage($message, $sql_query);
}