From 77069f5582ad42207ee9a9620cba5720390d9e79 Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Tue, 19 Jan 2016 15:48:38 +0100 Subject: Use IUser::setEMailAddress in ldap as well --- apps/user_ldap/lib/jobs.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/user_ldap/lib/jobs.php') 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); -- cgit v1.2.3