Always empty cache before updating a group

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/39446/head
Côme Chilliet 2 years ago
parent 1b102ca9b3
commit ce5a4e5b66
No known key found for this signature in database
GPG Key ID: A3E2F658B28C760A
  1. 1
      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;

Loading…
Cancel
Save