From c9dee2947f7c5c994cba9741c1b363a0f5998299 Mon Sep 17 00:00:00 2001
From: Tobias Diekershoff <tobias.diekershoff@gmx.net>
Date: Thu, 28 Jul 2016 15:41:25 +0200
Subject: [PATCH] quickfix for worker delivery problems

---
 boot.php | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/boot.php b/boot.php
index 056e47b7d2..cad4094c7d 100644
--- 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));