LDAP: make sure app meta data is not deleted from database when deleting configuration with empty prefix
This commit is contained in:
parent
a557522037
commit
19867b1d08
1 changed files with 2 additions and 1 deletions
|
@ -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.'%'));
|
||||
|
||||
|
|
Loading…
Reference in a new issue