From: Robin Appelman Date: Thu, 12 Aug 2010 15:10:05 +0000 (+0200) Subject: fix problem when creating users with a non-empty userid cache X-Git-Tag: v3.0~324 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f0f77aafbf93665ddd878477e136fa9c2e88e2bd;p=nextcloud-server.git fix problem when creating users with a non-empty userid cache --- 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); } /**