revert updateGroups job to use getGroups() instead of getAllGroups()
This commit is contained in:
parent
039f7b054a
commit
eb59e63c3b
|
@ -41,7 +41,7 @@ class Jobs extends \OC\BackgroundJob\TimedJob {
|
|||
\OCP\Util::writeLog('user_ldap', 'Run background job "updateGroups"', \OCP\Util::DEBUG);
|
||||
|
||||
$knownGroups = array_keys(self::getKnownGroups());
|
||||
$actualGroups = self::getGroupBE()->getAllGroups();
|
||||
$actualGroups = self::getGroupBE()->getGroups();
|
||||
|
||||
if(empty($actualGroups) && empty($knownGroups)) {
|
||||
\OCP\Util::writeLog('user_ldap',
|
||||
|
|
Loading…
Reference in New Issue