use getAllGroup() in the updateGroups background job

needed in active directory deployments with > 1000 groups
This commit is contained in:
root 2013-12-06 15:51:19 +01:00 committed by Alexander Bergolth
parent a135f1ebbb
commit bacda81bf7
1 changed files with 1 additions and 1 deletions

View File

@ -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()->getGroups();
$actualGroups = self::getGroupBE()->getAllGroups();
if(empty($actualGroups) && empty($knownGroups)) {
\OCP\Util::writeLog('user_ldap',