Remove if-block as the helper does return the empty prefix

This commit is contained in:
Lennart Rosam 2015-08-21 22:50:28 +02:00
parent fdf1a941b7
commit 588fae54cb

View file

@ -30,11 +30,6 @@ if(version_compare($installedVersion, '0.6.2', '<')) {
$helper = new \OCA\user_ldap\lib\Helper();
$prefixes = $helper->getServerConfigurationPrefixes();
// Add empty prefix if only one serverconfig exists
if(count($prefixes) === 0) {
$prefixes[] = "";
}
foreach($prefixes as $prefix) {
\OC::$server->getConfig()->deleteAppValue('user_ldap', $prefix . "ldap_nocase");
}