summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/appinfo
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-07-20 17:43:44 +0200
committerArthur Schiwon <blizzz@owncloud.com>2012-07-25 12:56:08 +0200
commit42492338fc708a09ada3d4ef6f4cc8aa0c670ee3 (patch)
tree53d7677816b9000fffc037f658ddd2ffe2a61072 /apps/user_ldap/appinfo
parent57c375ea245d57567316254df2968b5b929733a7 (diff)
downloadnextcloud-server-42492338fc708a09ada3d4ef6f4cc8aa0c670ee3.tar.gz
nextcloud-server-42492338fc708a09ada3d4ef6f4cc8aa0c670ee3.zip
LDAP: put app under the OCA\user_ldap\ namespace
Diffstat (limited to 'apps/user_ldap/appinfo')
-rw-r--r--apps/user_ldap/appinfo/app.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/user_ldap/appinfo/app.php b/apps/user_ldap/appinfo/app.php
index 0e201a38edc..b5dd718d710 100644
--- a/apps/user_ldap/appinfo/app.php
+++ b/apps/user_ldap/appinfo/app.php
@@ -22,15 +22,13 @@
*/
require_once('apps/user_ldap/lib_ldap.php');
-require_once('apps/user_ldap/user_ldap.php');
-require_once('apps/user_ldap/group_ldap.php');
-// OC::$CLASSPATH['OCA\user_ldap\LDAP_Access']='apps/user_ldap/lib/access.php';
+// require_once('apps/user_ldap/group_ldap.php');
OCP\App::registerAdmin('user_ldap','settings');
// register user backend
-OC_User::useBackend( new OC_USER_LDAP() );
-OC_Group::useBackend( new OC_GROUP_LDAP() );
+OC_User::useBackend(new OCA\user_ldap\USER_LDAP());
+OC_Group::useBackend(new OCA\user_ldap\GROUP_LDAP());
// add settings page to navigation
$entry = array(