diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-08-01 11:41:56 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-08-10 10:57:34 +0200 |
commit | ce5a4e5b6696efffa911c15cc7e2789cf504ad2d (patch) | |
tree | a779ac28e4f524c84d5d6a7088337397b7cd9a2f /apps/user_ldap/lib/Command | |
parent | 1b102ca9b3c0e32752599b8df373a11af6f40df0 (diff) | |
download | nextcloud-server-ce5a4e5b6696efffa911c15cc7e2789cf504ad2d.tar.gz nextcloud-server-ce5a4e5b6696efffa911c15cc7e2789cf504ad2d.zip |
Always empty cache before updating a group
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/user_ldap/lib/Command')
-rw-r--r-- | apps/user_ldap/lib/Command/CheckGroup.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/user_ldap/lib/Command/CheckGroup.php b/apps/user_ldap/lib/Command/CheckGroup.php index 8617b06c57f..91faa11888c 100644 --- a/apps/user_ldap/lib/Command/CheckGroup.php +++ b/apps/user_ldap/lib/Command/CheckGroup.php @@ -89,6 +89,7 @@ class CheckGroup extends Command { if ($exists === true) { $output->writeln('The group is still available on LDAP.'); if ($input->getOption('update')) { + $this->backend->getLDAPAccess($gid)->connection->clearCache(); $this->updateGroup($gid, $output, $wasMapped); } return 0; |