]> git.mxchange.org Git - friendica.git/blobdiff - update.php
Replace worker_daemon_mode config entry with key-value entry
[friendica.git] / update.php
index 632d173a71ed5180fa22fd9c76a5861245e606eb..ff3b6b536257779057e65ef59cb7a833e7826078 100644 (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);