WHERE `configkey` LIKE ?
';
if($activeConfigurations) {
- $query .= ' AND `configvalue` = 1';
+ $query .= ' AND `configvalue` = \'1\'';
}
$query = \OCP\DB::prepare($query);
DELETE
FROM `*PREFIX*appconfig`
WHERE `configkey` LIKE ?
- AND `appid` = "user_ldap"
- AND `configkey` NOT IN ("enabled", "installed_version", "types", "bgjUpdateGroupsLastRun")
+ AND `appid` = \'user_ldap\'
+ AND `configkey` NOT IN (\'enabled\', \'installed_version\', \'types\', \'bgjUpdateGroupsLastRun\')
');
$res = $query->execute(array($prefix.'%'));