summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Jobs/UpdateGroups.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2017-10-31 18:13:48 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2017-11-09 11:10:04 +0100
commitef3cd329167ce236b7f7a09293be439623e585c5 (patch)
tree1b5060debaf6794b21dd96411dc840605d268838 /apps/user_ldap/lib/Jobs/UpdateGroups.php
parentc6f1af98962b1eeefeaa3d8ec328b5b0a17dcd32 (diff)
downloadnextcloud-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.php2
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);