LDAP: fix database cleanup in update script

This commit is contained in:
Arthur Schiwon 2013-02-09 13:10:53 +01:00
parent af2acadc66
commit 1c94ec71ef
2 changed files with 4 additions and 3 deletions

View File

@ -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');
// 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'));

View File

@ -1 +1 @@
0.3.9.1
0.3.9.4