revert updateGroups job to use getGroups() instead of getAllGroups()

This commit is contained in:
root 2014-03-04 19:47:49 +01:00
parent 039f7b054a
commit eb59e63c3b

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