minor code beautification

This commit is contained in:
Arthur Schiwon 2012-04-16 13:27:20 +02:00
parent e1948c651b
commit 899c7631d5
1 changed files with 3 additions and 2 deletions

View File

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