From: Arthur Schiwon Date: Mon, 16 Apr 2012 13:04:10 +0000 (+0200) Subject: OC_Group does expect object, not string X-Git-Tag: v4.0.0beta~269 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=320fde9eec72e958df81da33678e7306fc1d6e96;p=nextcloud-server.git OC_Group does expect object, not string --- diff --git a/apps/user_ldap/appinfo/app.php b/apps/user_ldap/appinfo/app.php index 4e4da56f054..113c8d6b7bb 100644 --- a/apps/user_ldap/appinfo/app.php +++ b/apps/user_ldap/appinfo/app.php @@ -35,7 +35,7 @@ define('OC_USER_BACKEND_LDAP_DEFAULT_DISPLAY_NAME', 'uid'); // register user backend OC_User::useBackend( 'LDAP' ); -OC_Group::useBackend( 'LDAP' ); +OC_Group::useBackend( new OC_GROUP_LDAP() ); // add settings page to navigation $entry = array(