summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/user_ldap.php
diff options
context:
space:
mode:
authorJakob Sack <kde@jakobsack.de>2011-07-29 21:36:03 +0200
committerJakob Sack <kde@jakobsack.de>2011-07-29 21:36:03 +0200
commitbafd684eb694ed0bd86b46ff7cd36382c1cebc34 (patch)
treec3bb1e013d563263002d052eb41032076a36a5f9 /apps/user_ldap/user_ldap.php
parent220132ca237f5077f5145bf327e8528a652ad559 (diff)
downloadnextcloud-server-bafd684eb694ed0bd86b46ff7cd36382c1cebc34.tar.gz
nextcloud-server-bafd684eb694ed0bd86b46ff7cd36382c1cebc34.zip
Renaming classes :-)
Diffstat (limited to 'apps/user_ldap/user_ldap.php')
-rw-r--r--apps/user_ldap/user_ldap.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php
index a197c0a10e0..54fc51fe0cd 100644
--- a/apps/user_ldap/user_ldap.php
+++ b/apps/user_ldap/user_ldap.php
@@ -21,7 +21,7 @@
*
*/
-class OC_USER_LDAP extends OC_USER_BACKEND {
+class OC_USER_LDAP extends OC_User_Backend {
protected $ds;
protected $configured = false;
@@ -35,12 +35,12 @@ class OC_USER_LDAP extends OC_USER_BACKEND {
protected $ldap_filter;
function __construct() {
- $this->ldap_host = OC_APPCONFIG::getValue('user_ldap', 'ldap_host','');
- $this->ldap_port = OC_APPCONFIG::getValue('user_ldap', 'ldap_port', OC_USER_BACKEND_LDAP_DEFAULT_PORT );
- $this->ldap_dn = OC_APPCONFIG::getValue('user_ldap', 'ldap_dn','');
- $this->ldap_password = OC_APPCONFIG::getValue('user_ldap', 'ldap_password','');
- $this->ldap_base = OC_APPCONFIG::getValue('user_ldap', 'ldap_base','');
- $this->ldap_filter = OC_APPCONFIG::getValue('user_ldap', 'ldap_filter','');
+ $this->ldap_host = OC_Appconfig::getValue('user_ldap', 'ldap_host','');
+ $this->ldap_port = OC_Appconfig::getValue('user_ldap', 'ldap_port', OC_USER_BACKEND_LDAP_DEFAULT_PORT );
+ $this->ldap_dn = OC_Appconfig::getValue('user_ldap', 'ldap_dn','');
+ $this->ldap_password = OC_Appconfig::getValue('user_ldap', 'ldap_password','');
+ $this->ldap_base = OC_Appconfig::getValue('user_ldap', 'ldap_base','');
+ $this->ldap_filter = OC_Appconfig::getValue('user_ldap', 'ldap_filter','');
if( !empty($this->ldap_host)
&& !empty($this->ldap_port)