From 0bdebe0e4a5249e45cebce1696e3e0ed05b892d1 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Fri, 20 Jul 2012 13:18:02 +0200 Subject: LDAP: pass user backend as instance, not classname --- apps/user_ldap/appinfo/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/user_ldap/appinfo') 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 -- cgit v1.2.3