diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-12-20 16:09:04 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-12-20 16:09:04 +0100 |
commit | 144d95de7dde29cd85e795cdcd7ac1576639d641 (patch) | |
tree | 67de63f5c3c43b49cbb29cffcd6eb855eff68cb1 /apps/user_ldap/lib/jobs.php | |
parent | 4fa39250e714b3ee5aa16a5f9ce8c77daa44311b (diff) | |
download | nextcloud-server-144d95de7dde29cd85e795cdcd7ac1576639d641.tar.gz nextcloud-server-144d95de7dde29cd85e795cdcd7ac1576639d641.zip |
basic adjustments for OC 8. I.e. no visible issues, LDAP tests pass.
Diffstat (limited to 'apps/user_ldap/lib/jobs.php')
-rw-r--r-- | apps/user_ldap/lib/jobs.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/user_ldap/lib/jobs.php b/apps/user_ldap/lib/jobs.php index 30f09cdc8f8..391a10d31f8 100644 --- a/apps/user_ldap/lib/jobs.php +++ b/apps/user_ldap/lib/jobs.php @@ -23,6 +23,8 @@ namespace OCA\user_ldap\lib; +use OCA\User_LDAP\Mapping\GroupMapping; + class Jobs extends \OC\BackgroundJob\TimedJob { static private $groupsFromDB; @@ -169,6 +171,7 @@ class Jobs extends \OC\BackgroundJob\TimedJob { new \OCP\Image()); $connector = new Connection($ldapWrapper, $configPrefixes[0]); $ldapAccess = new Access($connector, $ldapWrapper, $userManager); + $groupMapper = new GroupMapping(\OC::$server->getDatabaseConnection()); self::$groupBE = new \OCA\user_ldap\GROUP_LDAP($ldapAccess); } else { self::$groupBE = new \OCA\user_ldap\Group_Proxy($configPrefixes, $ldapWrapper); |