]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix problem when creating users with a non-empty userid cache
authorRobin Appelman <icewind1991@gmail.com>
Thu, 12 Aug 2010 15:10:05 +0000 (17:10 +0200)
committerRobin Appelman <icewind1991@gmail.com>
Thu, 12 Aug 2010 15:10:05 +0000 (17:10 +0200)
inc/lib_user.php

index 73faf77a166c281de80d923a9be92a97b9615349..593cd979ef465b49b19c33d903e294a4f5dd094c 100644 (file)
@@ -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);
        }
 
        /**