summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-01-14 19:57:28 +0100
committerLukas Reschke <lukas@statuscode.ch>2013-01-14 19:57:28 +0100
commite8b45caa510e9470dfd0c49abfa387af0b8ae204 (patch)
tree8704914854ac1e0d4c521c99e048cbe9a347803d
parentfa78fbe0c3e281c91468bee92c871be7b1e48c79 (diff)
downloadnextcloud-server-e8b45caa510e9470dfd0c49abfa387af0b8ae204.tar.gz
nextcloud-server-e8b45caa510e9470dfd0c49abfa387af0b8ae204.zip
Remove uneeded return
Thx @Raydiation
-rw-r--r--lib/user.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/user.php b/lib/user.php
index 80f88ca7052..e3686e32e17 100644
--- a/lib/user.php
+++ b/lib/user.php
@@ -260,12 +260,9 @@ 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;
}
/**