summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/ajax
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-01-07 00:52:18 +0100
committerArthur Schiwon <blizzz@owncloud.com>2015-01-07 00:52:18 +0100
commitb9235e2a24ada2bf69fc23cd83405661bde7f0da (patch)
treef73ab7e9ca94e9a0a19d0ddbb9a82a7dc91c16b4 /apps/user_ldap/ajax
parent64f0b055e67974141cf2e156d2b062f55768ce7d (diff)
downloadnextcloud-server-b9235e2a24ada2bf69fc23cd83405661bde7f0da.tar.gz
nextcloud-server-b9235e2a24ada2bf69fc23cd83405661bde7f0da.zip
inject DB Connection to user manager
Diffstat (limited to 'apps/user_ldap/ajax')
-rw-r--r--apps/user_ldap/ajax/wizard.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_ldap/ajax/wizard.php b/apps/user_ldap/ajax/wizard.php
index 6d7d70c8c5a..48bfb56311c 100644
--- a/apps/user_ldap/ajax/wizard.php
+++ b/apps/user_ldap/ajax/wizard.php
@@ -52,7 +52,8 @@ $userManager = new \OCA\user_ldap\lib\user\Manager(
new \OCA\user_ldap\lib\FilesystemHelper(),
new \OCA\user_ldap\lib\LogWrapper(),
\OC::$server->getAvatarManager(),
- new \OCP\Image());
+ new \OCP\Image(),
+ \OC::$server->getDatabaseConnection());
$access = new \OCA\user_ldap\lib\Access($con, $ldapWrapper, $userManager);