diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-10-31 18:13:48 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-11-09 11:10:04 +0100 |
commit | ef3cd329167ce236b7f7a09293be439623e585c5 (patch) | |
tree | 1b5060debaf6794b21dd96411dc840605d268838 /apps/user_ldap/lib/Jobs/UpdateGroups.php | |
parent | c6f1af98962b1eeefeaa3d8ec328b5b0a17dcd32 (diff) | |
download | nextcloud-server-ef3cd329167ce236b7f7a09293be439623e585c5.tar.gz nextcloud-server-ef3cd329167ce236b7f7a09293be439623e585c5.zip |
don't skip updating when ajax is set as background job mode
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/lib/Jobs/UpdateGroups.php')
-rw-r--r-- | apps/user_ldap/lib/Jobs/UpdateGroups.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Jobs/UpdateGroups.php b/apps/user_ldap/lib/Jobs/UpdateGroups.php index 49b79f2d618..42579ec078f 100644 --- a/apps/user_ldap/lib/Jobs/UpdateGroups.php +++ b/apps/user_ldap/lib/Jobs/UpdateGroups.php @@ -192,7 +192,7 @@ class UpdateGroups extends \OC\BackgroundJob\TimedJob { \OC::$server->getUserManager(), \OC::$server->getNotificationManager()); $connector = new Connection($ldapWrapper, $configPrefixes[0]); - $ldapAccess = new Access($connector, $ldapWrapper, $userManager, $helper); + $ldapAccess = new Access($connector, $ldapWrapper, $userManager, $helper, \OC::$server); $groupMapper = new GroupMapping($dbc); $userMapper = new UserMapping($dbc); $ldapAccess->setGroupMapper($groupMapper); |