mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
fix problem when creating users with a non-empty userid cache
This commit is contained in:
parent
5f53165efb
commit
f0f77aafbf
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue