Skip to content
Snippets Groups Projects
Commit 19867b1d authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

LDAP: make sure app meta data is not deleted from database when deleting...

LDAP: make sure app meta data is not deleted from database when deleting configuration with empty prefix
parent a5575220
No related branches found
No related tags found
No related merge requests found
......@@ -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.'%'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment