diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/user.php | 4 | ||||
-rw-r--r-- | lib/user.php | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/lib/public/user.php b/lib/public/user.php index 9e50115ab70..e297b716dc2 100644 --- a/lib/public/user.php +++ b/lib/public/user.php @@ -73,12 +73,10 @@ class User { } /** * @brief Loggs the user out including all the session data - * @returns true - * * Logout, destroys session */ public static function logout() { - return \OC_USER::logout(); + \OC_USER::logout(); } /** diff --git a/lib/user.php b/lib/user.php index e3686e32e17..e75c7d9b68c 100644 --- a/lib/user.php +++ b/lib/user.php @@ -267,7 +267,6 @@ class OC_User { /** * @brief Logs the current user out and kills all the session data - * @returns true * * Logout, destroys session */ @@ -276,7 +275,6 @@ class OC_User { session_unset(); session_destroy(); OC_User::unsetMagicInCookie(); - return true; } /** |