summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/appinfo/update.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-02-06 02:29:55 +0100
committerArthur Schiwon <blizzz@owncloud.com>2013-02-06 02:29:55 +0100
commit993831b6df5e7df1a6fcc7344f1fecd93006674c (patch)
treedce432ab526a5743f2fb7c6962c08b4f729ec1bd /apps/user_ldap/appinfo/update.php
parentc6aa370604d5a5898719ef9378f3444171016768 (diff)
downloadnextcloud-server-993831b6df5e7df1a6fcc7344f1fecd93006674c.tar.gz
nextcloud-server-993831b6df5e7df1a6fcc7344f1fecd93006674c.zip
LDAP: version bump -> clean up database
Diffstat (limited to 'apps/user_ldap/appinfo/update.php')
-rw-r--r--apps/user_ldap/appinfo/update.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/user_ldap/appinfo/update.php b/apps/user_ldap/appinfo/update.php
index f9681e38e68..5b8364884f0 100644
--- a/apps/user_ldap/appinfo/update.php
+++ b/apps/user_ldap/appinfo/update.php
@@ -87,4 +87,7 @@ if(!isset($connector)) {
}
//it is required, that connections do have ldap_configuration_active setting stored in the database
$connector->getConfiguration();
-$connector->saveConfiguration(); \ No newline at end of file
+$connector->saveConfiguration();
+
+// we don't save it anymore, was a well-meant bad idea
+\OC_Preferences::deleteKey('%', 'user_ldap' , 'homedir'); \ No newline at end of file