Skip to content

Commit

Permalink
Always empty cache before updating a group
Browse files Browse the repository at this point in the history
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
  • Loading branch information
come-nc committed Aug 1, 2023
1 parent 92e4f33 commit 8e86b35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/user_ldap/lib/Command/CheckGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
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;
Expand Down

0 comments on commit 8e86b35

Please sign in to comment.