From 9f71eff1767d9e278b1528fa6c7c52a8969507c4 Mon Sep 17 00:00:00 2001 From: Marco Date: Sun, 25 Mar 2018 01:28:35 +0100 Subject: [PATCH] Remove method 'logOutAndDestroySession' from class 'Auth' --- src/Auth.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/Auth.php b/src/Auth.php index 431dd6c..5c8ba2f 100644 --- a/src/Auth.php +++ b/src/Auth.php @@ -578,16 +578,6 @@ final class Auth extends UserManager { parent::onLoginSuccessful($userId, $email, $username, $status, $roles, $forceLogout, $remembered); } - /** - * Logs the user out and destroys all session data - * - * @throws AuthError if an internal problem occurred (do *not* catch) - */ - public function logOutAndDestroySession() { - $this->logOut(); - $this->destroySession(); - } - /** * Deletes the session cookie on the client *