diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2012-04-16 13:27:20 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2012-04-16 15:09:38 +0200 |
commit | 899c7631d53605ec40ef4dcaf049edef56d7ce3e (patch) | |
tree | eacb1e440ae5f431517a268738adb7b9188ccfb7 | |
parent | e1948c651bcd51597ff231e154efacc38d090f26 (diff) | |
download | nextcloud-server-899c7631d53605ec40ef4dcaf049edef56d7ce3e.tar.gz nextcloud-server-899c7631d53605ec40ef4dcaf049edef56d7ce3e.zip |
minor code beautification
-rw-r--r-- | apps/user_ldap/lib_ldap.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/user_ldap/lib_ldap.php b/apps/user_ldap/lib_ldap.php index 417a4719f02..be85c5debe1 100644 --- a/apps/user_ldap/lib_ldap.php +++ b/apps/user_ldap/lib_ldap.php @@ -38,14 +38,15 @@ class OC_LDAP { // user and group settings, that are needed in both backends static public $ldapUserDisplayName; - static public function init() { self::readConfiguration(); self::establishConnection(); } static public function conf($key) { - $availableProperties = array('ldapUserDisplayName'); + $availableProperties = array( + 'ldapUserDisplayName', + ); if(in_array($key, $availableProperties)) { return self::$$key; |