mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 06:37:56 -04:00
minor code beautification
This commit is contained in:
parent
e1948c651b
commit
899c7631d5
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue