diff options
author | blizzz <blizzz@owncloud.com> | 2015-08-24 13:45:15 +0200 |
---|---|---|
committer | blizzz <blizzz@owncloud.com> | 2015-08-24 13:45:15 +0200 |
commit | 642ec8e3ba2d8ed26213494e78d4916e4ff26f74 (patch) | |
tree | 1134100e06668a8f183d2d3f60380ee59eef1d9f /apps/user_ldap/appinfo | |
parent | 3d9a1dd7c7dfd684220ea98d5db1e92f08cc568e (diff) | |
parent | 4b04412db3e0b7e50388a3ade1f8c33cb3f0232a (diff) | |
download | nextcloud-server-642ec8e3ba2d8ed26213494e78d4916e4ff26f74.tar.gz nextcloud-server-642ec8e3ba2d8ed26213494e78d4916e4ff26f74.zip |
Merge pull request #18244 from owncloud/fix-issue-17677
Fix 17677 - Remove LDAP case sensitive checkbox
Diffstat (limited to 'apps/user_ldap/appinfo')
-rw-r--r-- | apps/user_ldap/appinfo/update.php | 10 | ||||
-rw-r--r-- | apps/user_ldap/appinfo/version | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/apps/user_ldap/appinfo/update.php b/apps/user_ldap/appinfo/update.php index b904bce072e..4907db0cdae 100644 --- a/apps/user_ldap/appinfo/update.php +++ b/apps/user_ldap/appinfo/update.php @@ -24,3 +24,13 @@ $installedVersion = \OC::$server->getConfig()->getAppValue('user_ldap', 'install if (version_compare($installedVersion, '0.6.1', '<')) { \OC::$server->getConfig()->setAppValue('user_ldap', 'enforce_home_folder_naming_rule', false); } + +if(version_compare($installedVersion, '0.6.2', '<')) { + // Remove LDAP case insensitive setting from DB as it is no longer beeing used. + $helper = new \OCA\user_ldap\lib\Helper(); + $prefixes = $helper->getServerConfigurationPrefixes(); + + foreach($prefixes as $prefix) { + \OC::$server->getConfig()->deleteAppValue('user_ldap', $prefix . "ldap_nocase"); + } +} diff --git a/apps/user_ldap/appinfo/version b/apps/user_ldap/appinfo/version index ee6cdce3c29..b6160487433 100644 --- a/apps/user_ldap/appinfo/version +++ b/apps/user_ldap/appinfo/version @@ -1 +1 @@ -0.6.1 +0.6.2 |