Replace worker_daemon_mode config entry with key-value entry

This commit is contained in:
Philipp 2022-12-29 20:34:19 +01:00
parent 6b3265742a
commit b227d65dfc
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
3 changed files with 8 additions and 7 deletions

View file

@ -1149,11 +1149,12 @@ function update_1502()
function update_1505()
{
$conditions = [
"(`k` LIKE ?) OR (`k` = ?) OR (`cat` = ? AND `k` LIKE ?)",
"(`cat` = ?) AND ((`k` LIKE ?) OR (`k` = ?) OR (`k` LIKE ?) OR (`k` = ?))",
"system",
"post_update_%",
"worker_last_cleaned",
"system",
"last%"
"last%",
"worker_daemon_mode",
];
$postUpdateEntries = DBA::selectToArray('config', ['k', 'v'], $conditions);