summaryrefslogtreecommitdiffstats
path: root/inc/lib_user.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2010-08-12 17:10:05 +0200
committerRobin Appelman <icewind1991@gmail.com>2010-08-12 17:10:05 +0200
commitf0f77aafbf93665ddd878477e136fa9c2e88e2bd (patch)
tree24339e6d4a6b0bffcad77be66581b98b3ee4e19d /inc/lib_user.php
parent5f53165efb10612d6ba1effbf06321ae3c83eb36 (diff)
downloadnextcloud-server-f0f77aafbf93665ddd878477e136fa9c2e88e2bd.tar.gz
nextcloud-server-f0f77aafbf93665ddd878477e136fa9c2e88e2bd.zip
fix problem when creating users with a non-empty userid cache
Diffstat (limited to 'inc/lib_user.php')
-rw-r--r--inc/lib_user.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/lib_user.php b/inc/lib_user.php
index 73faf77a166..593cd979ef4 100644
--- a/inc/lib_user.php
+++ b/inc/lib_user.php
@@ -134,7 +134,7 @@ class OC_USER {
* @param boolean $noCache If false the cache is used to find the ID
*/
public static function getUserId($username, $noCache=false) {
- return self::$_backend->getUserId($username, $noCache=false);
+ return self::$_backend->getUserId($username, $noCache);
}
/**
@@ -144,7 +144,7 @@ class OC_USER {
* @param boolean $noCache If false the cache is used to find the ID
*/
public static function getGroupId($groupName, $noCache=false) {
- return self::$_backend->getGroupId($groupName, $noCache=false);
+ return self::$_backend->getGroupId($groupName, $noCache);
}
/**
@@ -154,7 +154,7 @@ class OC_USER {
* @param boolean $noCache If false the cache is used to find the name of the group
*/
public static function getGroupName($groupId, $noCache=false) {
- return self::$_backend->getGroupName($groupId, $noCache=false);
+ return self::$_backend->getGroupName($groupId, $noCache);
}
/**