summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-01-14 20:18:08 +0100
committerLukas Reschke <lukas@statuscode.ch>2013-01-14 20:18:08 +0100
commitcc00c54f6a2561c6bafa51e8f4da53ae4773922b (patch)
tree99579e1eb21a8afd78818d1ba93fcac620a93039 /lib
parente8b45caa510e9470dfd0c49abfa387af0b8ae204 (diff)
downloadnextcloud-server-cc00c54f6a2561c6bafa51e8f4da53ae4773922b.tar.gz
nextcloud-server-cc00c54f6a2561c6bafa51e8f4da53ae4773922b.zip
Remove uneeded returns
Diffstat (limited to 'lib')
-rw-r--r--lib/public/user.php4
-rw-r--r--lib/user.php2
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;
}
/**