X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FQueue%2FRunner.php;h=e2a585a3c328c64a473c3ddfa1ceddf490444a73;hb=41e929f8cd794c24d89b26f4946477dad1a99aa5;hp=bac1f8e4495ce5f1aa6f337aa0ccb542f5254f78;hpb=af99a6a90354d291416ee6343ab1750f3a6b00d6;p=civicrm-core.git diff --git a/CRM/Queue/Runner.php b/CRM/Queue/Runner.php index bac1f8e449..e2a585a3c3 100644 --- a/CRM/Queue/Runner.php +++ b/CRM/Queue/Runner.php @@ -152,7 +152,6 @@ class CRM_Queue_Runner { // setting -- it should be more of a contextual/stack-based setting. // This should be appropriate because queue-runners are not used with // basic web pages -- they're used with CLI/REST/AJAX. - $errorScope = CRM_Core_TemporaryErrorScope::useException(); $taskResult = $this->runNext(); $errorScope = NULL; } @@ -303,7 +302,7 @@ class CRM_Queue_Runner { * * @param bool $isOK * TRUE if the task completed successfully. - * @param Exception|NULL $exception + * @param Exception|null $exception * If applicable, an unhandled exception that arose during execution. * * @return array