mirror of
https://github.com/nextcloud/server.git
synced 2026-02-26 03:11:28 -05:00
Always empty cache before updating a group
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
1b102ca9b3
commit
ce5a4e5b66
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Reference in a new issue