summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/appinfo
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-07-20 13:18:02 +0200
committerArthur Schiwon <blizzz@owncloud.com>2012-07-25 12:56:08 +0200
commit0bdebe0e4a5249e45cebce1696e3e0ed05b892d1 (patch)
treea8e6902f6c5ad75a77f3bf4c7b0a40a7466c5e38 /apps/user_ldap/appinfo
parente499bc37c839cc8b33d81e8eb360a4dfd1050ca2 (diff)
downloadnextcloud-server-0bdebe0e4a5249e45cebce1696e3e0ed05b892d1.tar.gz
nextcloud-server-0bdebe0e4a5249e45cebce1696e3e0ed05b892d1.zip
LDAP: pass user backend as instance, not classname
Diffstat (limited to 'apps/user_ldap/appinfo')
-rw-r--r--apps/user_ldap/appinfo/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/appinfo/app.php b/apps/user_ldap/appinfo/app.php
index 330574c1d42..a3c4b0cf9ff 100644
--- a/apps/user_ldap/appinfo/app.php
+++ b/apps/user_ldap/appinfo/app.php
@@ -28,7 +28,7 @@ require_once('apps/user_ldap/group_ldap.php');
OCP\App::registerAdmin('user_ldap','settings');
// register user backend
-OC_User::useBackend( 'LDAP' );
+OC_User::useBackend( new OC_USER_LDAP() );
OC_Group::useBackend( new OC_GROUP_LDAP() );
// add settings page to navigation