Remove dead code
Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
parent
41d168afe2
commit
be03cb3f27
@ -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();
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user