diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-01-15 14:01:48 -0800 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-01-15 14:01:48 -0800 |
commit | 4668f8c86e4477c05049f39ebc387115add61264 (patch) | |
tree | b0743fa20560dd302601e9901830a459e1c19b16 | |
parent | 65ef780ed69dcbddf803c57d720d625fb2848d84 (diff) | |
parent | cc00c54f6a2561c6bafa51e8f4da53ae4773922b (diff) | |
download | nextcloud-server-4668f8c86e4477c05049f39ebc387115add61264.tar.gz nextcloud-server-4668f8c86e4477c05049f39ebc387115add61264.zip |
Merge pull request #1178 from owncloud/return_true_because_of_ponies
Remove uneeded return
-rw-r--r-- | lib/public/user.php | 4 | ||||
-rw-r--r-- | lib/user.php | 5 |
2 files changed, 1 insertions, 8 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 8d4eb7aec4d..fd0ed6ecd3a 100644 --- a/lib/user.php +++ b/lib/user.php @@ -260,17 +260,13 @@ class OC_User { /** * @brief Sets user id for session and triggers emit - * @returns true - * */ public static function setUserId($uid) { $_SESSION['user_id'] = $uid; - return true; } /** * @brief Logs the current user out and kills all the session data - * @returns true * * Logout, destroys session */ @@ -279,7 +275,6 @@ class OC_User { session_unset(); session_destroy(); OC_User::unsetMagicInCookie(); - return true; } /** |