1
0
Fork 0
mirror of synced 2024-09-19 19:07:21 +12:00

trigger functions event only if event is not paused

This commit is contained in:
Damodar Lohani 2024-08-13 14:37:06 +05:45 committed by GitHub
parent 603430a013
commit b06cffac45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -556,10 +556,11 @@ App::shutdown()
/**
* Trigger functions.
*/
$queueForFunctions
->from($queueForEvents)
->trigger();
if (!$queueForEvents->isPaused()) {
$queueForFunctions
->from($queueForEvents)
->trigger();
}
/**
* Trigger webhooks.
*/