LDAP: pass user backend as instance, not classname

This commit is contained in:
Arthur Schiwon 2012-07-20 13:18:02 +02:00
parent e499bc37c8
commit 0bdebe0e4a
1 changed files with 1 additions and 1 deletions

View File

@ -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