LDAP: make sure app meta data is not deleted from database when deleting configuration with empty prefix

This commit is contained in:
Arthur Schiwon 2013-01-30 02:39:44 +01:00
parent a557522037
commit 19867b1d08

View file

@ -81,7 +81,8 @@ class Helper {
DELETE
FROM `*PREFIX*appconfig`
WHERE `configkey` LIKE ?
AND appid = "user_ldap"
AND `appid` = "user_ldap"
AND `configkey` NOT IN ("enabled", "installed_version", "types", "bgjUpdateGroupsLastRun")
');
$res = $query->execute(array($prefix.'%'));