summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/appinfo
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/appinfo')
-rw-r--r--apps/user_ldap/appinfo/update.php5
-rw-r--r--apps/user_ldap/appinfo/version2
2 files changed, 4 insertions, 3 deletions
diff --git a/apps/user_ldap/appinfo/update.php b/apps/user_ldap/appinfo/update.php
index 5b8364884f0..bc32d4ef4cc 100644
--- a/apps/user_ldap/appinfo/update.php
+++ b/apps/user_ldap/appinfo/update.php
@@ -89,5 +89,6 @@ if(!isset($connector)) {
$connector->getConfiguration();
$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
+// we don't save it anymore, was a well-meant bad idea. Clean up database.
+$query = OC_DB::prepare('DELETE FROM `*PREFIX*preferences` WHERE `appid` = ? AND `configkey` = ?');
+$query->execute(array('user_ldap' , 'homedir'));
diff --git a/apps/user_ldap/appinfo/version b/apps/user_ldap/appinfo/version
index 44938339fa2..e4d93c8d610 100644
--- a/apps/user_ldap/appinfo/version
+++ b/apps/user_ldap/appinfo/version
@@ -1 +1 @@
-0.3.9.1 \ No newline at end of file
+0.3.9.4 \ No newline at end of file