diff options
Diffstat (limited to 'apps/user_ldap/lib/Settings/Admin.php')
-rw-r--r-- | apps/user_ldap/lib/Settings/Admin.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/user_ldap/lib/Settings/Admin.php b/apps/user_ldap/lib/Settings/Admin.php index e9c883bd20d..f043d179e80 100644 --- a/apps/user_ldap/lib/Settings/Admin.php +++ b/apps/user_ldap/lib/Settings/Admin.php @@ -49,7 +49,7 @@ class Admin implements ISettings { public function getForm() { $helper = new Helper(\OC::$server->getConfig()); $prefixes = $helper->getServerConfigurationPrefixes(); - if(count($prefixes) === 0) { + if (count($prefixes) === 0) { $newPrefix = $helper->getNextServerConfigurationPrefix(); $config = new Configuration($newPrefix, false); $config->setConfiguration($config->getDefaults()); @@ -70,11 +70,11 @@ class Admin implements ISettings { $parameters['wizardControls'] = $wControls; // assign default values - if(!isset($config)) { + if (!isset($config)) { $config = new Configuration('', false); } $defaults = $config->getDefaults(); - foreach($defaults as $key => $default) { + foreach ($defaults as $key => $default) { $parameters[$key.'_default'] = $default; } |