]> git.mxchange.org Git - friendica.git/commitdiff
quickfix for worker delivery problems
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Thu, 28 Jul 2016 13:41:25 +0000 (15:41 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Thu, 28 Jul 2016 13:41:25 +0000 (15:41 +0200)
boot.php

index 056e47b7d22b10c277c672535ef8998a87c834a2..cad4094c7de259332ab5a43b01feeaa28bac0ceb 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -1801,9 +1801,13 @@ function proc_run($cmd){
                                $priority = 2;
 
                        if (!$found)
-                               q("INSERT INTO `workerqueue` (`function`, `parameter`, `created`, `priority`)
-                                                       VALUES ('%s', '%s', '%s', %d)",
-                                       dbesc($funcname),
+                               //  quickfix for the delivery problems, 2106-07-28
+                               /// @todo find better solution
+                               //q("INSERT INTO `workerqueue` (`function`, `parameter`, `created`, `priority`)
+                               //                      VALUES ('%s', '%s', '%s', %d)",
+                               //      dbesc($funcname),
+                               q("INSERT INTO `workerqueue` (`parameter`, `created`, `priority`)
+                                                       VALUES ('%s', '%s', %d)",
                                        dbesc($parameters),
                                        dbesc(datetime_convert()),
                                        intval($priority));