diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-02-09 13:10:53 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-02-09 13:10:53 +0100 |
commit | 1c94ec71eff884238e2269407cca5ee3d02f8a63 (patch) | |
tree | f1494ef989914172523bffbf83eb35325b5d86b8 /apps/user_ldap/appinfo | |
parent | af2acadc6602b2ebd33a8b7d74d82e1590870c0a (diff) | |
download | nextcloud-server-1c94ec71eff884238e2269407cca5ee3d02f8a63.tar.gz nextcloud-server-1c94ec71eff884238e2269407cca5ee3d02f8a63.zip |
LDAP: fix database cleanup in update script
Diffstat (limited to 'apps/user_ldap/appinfo')
-rw-r--r-- | apps/user_ldap/appinfo/update.php | 5 | ||||
-rw-r--r-- | apps/user_ldap/appinfo/version | 2 |
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 |