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