]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Worker.php
Cut and paste is always fun
[friendica.git] / src / Core / Worker.php
index 7dcdf4e8868bd7e9351e1a8e0e32a96b0f78be13..2e7bb483e8a170813cc7e017c3550338334804e5 100644 (file)
@@ -533,7 +533,11 @@ class Worker
 
                while ($entry = dba::fetch($entries)) {
                        if (!posix_kill($entry["pid"], 0)) {
-                               dba::update('workerqueue', array('executed' => NULL_DATE, 'pid' => 0), array('id' => $entry["id"]));
+                               dba::update(
+                                       'workerqueue',
+                                       array('executed' => NULL_DATE, 'pid' => 0),
+                                       array('id' => $entry["id"])
+                               );
                        } else {
                                // Kill long running processes
                                // Check if the priority is in a valid range