summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/jobs.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-19 15:48:38 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-20 15:21:33 +0100
commit77069f5582ad42207ee9a9620cba5720390d9e79 (patch)
treebf1ac115fd972c6d061a2f50df903491c02f97e8 /apps/user_ldap/lib/jobs.php
parent51b50bd26049eed0d4335ae5f5282f53df0189a1 (diff)
downloadnextcloud-server-77069f5582ad42207ee9a9620cba5720390d9e79.tar.gz
nextcloud-server-77069f5582ad42207ee9a9620cba5720390d9e79.zip
Use IUser::setEMailAddress in ldap as well
Diffstat (limited to 'apps/user_ldap/lib/jobs.php')
-rw-r--r--apps/user_ldap/lib/jobs.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/jobs.php b/apps/user_ldap/lib/jobs.php
index b27f66055a3..47e28470188 100644
--- a/apps/user_ldap/lib/jobs.php
+++ b/apps/user_ldap/lib/jobs.php
@@ -175,7 +175,8 @@ class Jobs extends \OC\BackgroundJob\TimedJob {
new LogWrapper(),
\OC::$server->getAvatarManager(),
new \OCP\Image(),
- $dbc);
+ $dbc,
+ \OC::$server->getUserManager());
$connector = new Connection($ldapWrapper, $configPrefixes[0]);
$ldapAccess = new Access($connector, $ldapWrapper, $userManager);
$groupMapper = new GroupMapping($dbc);