summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Access.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-02-07 12:54:50 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-02-10 10:15:00 +0100
commit9f2db6e65da00e2acbf8a497ab601d8054d6525b (patch)
treeac599ada445ddc656a82e93d3228b49544769fe7 /apps/user_ldap/lib/Access.php
parent45d4c0bf6653a1507f4ab77682aab773ebb62b8d (diff)
downloadnextcloud-server-9f2db6e65da00e2acbf8a497ab601d8054d6525b.tar.gz
nextcloud-server-9f2db6e65da00e2acbf8a497ab601d8054d6525b.zip
Fix ldap:update-uuid
Generators cannot be iterated with while or returned by an other generator, using foreach instead. And a few other problems. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/user_ldap/lib/Access.php')
-rw-r--r--apps/user_ldap/lib/Access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php
index 093449ee0ea..65087040cc4 100644
--- a/apps/user_ldap/lib/Access.php
+++ b/apps/user_ldap/lib/Access.php
@@ -1792,7 +1792,7 @@ class Access extends LDAPUtility {
* @param string $dn
* @param bool $isUser
* @param null $ldapRecord
- * @return bool|string
+ * @return false|string
* @throws ServerNotAvailableException
*/
public function getUUID($dn, $isUser = true, $ldapRecord = null) {