From 05f83d48df123083bf3d4fc1a3755c48809a760f Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Mon, 20 Nov 2023 17:10:24 +0100 Subject: [PATCH] Fix missing namespace when processing scheduled jobs --- lib/Worker/SchedulerWorker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Worker/SchedulerWorker.php b/lib/Worker/SchedulerWorker.php index 7d264cd..84e7a3f 100644 --- a/lib/Worker/SchedulerWorker.php +++ b/lib/Worker/SchedulerWorker.php @@ -106,7 +106,7 @@ public function enqueueDelayedItemsForTimestamp($timestamp) )); $payload = array_merge(array($item['queue'], $item['class']), $item['args']); - call_user_func_array('Resque::enqueue', $payload); + call_user_func_array('Resque\Resque::enqueue', $payload); } }