From 8d7008930d43b63e2af711a0e9fd030ae464ad0f Mon Sep 17 00:00:00 2001 From: Adedoyin Damilare Date: Mon, 13 Nov 2023 19:59:27 +0000 Subject: [PATCH] Update the parameters passed to the hook_QueueTaskError Issue: https://lab.civicrm.org/dev/core/-/issues/4774 --- CRM/Utils/Hook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/Hook.php b/CRM/Utils/Hook.php index 00e82f3602..c15b871519 100644 --- a/CRM/Utils/Hook.php +++ b/CRM/Utils/Hook.php @@ -3116,7 +3116,7 @@ abstract class CRM_Utils_Hook { */ public static function queueTaskError(CRM_Queue_Queue $queue, $item, &$outcome, ?Throwable $exception) { $null = NULL; - return self::singleton()->invoke(['job', 'params'], $queue, $item, + return self::singleton()->invoke(['queue', 'item', 'outcome', 'exception'], $queue, $item, $outcome, $exception, $null, $null, 'civicrm_queueTaskError' ); -- 2.25.1