X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fdistribqueuehandler.php;h=a7519c1d50729465000f6155f61d31f20e2bbe5f;hb=1d29ba83150bdd7a23e497ca9a743ac2b6158b6f;hp=8f4b72d5c37e3128cb782aabea4475d0d1d88a14;hpb=61098faf5dd2685ea00c110bb4a3c871da17a300;p=quix0rs-gnu-social.git diff --git a/lib/distribqueuehandler.php b/lib/distribqueuehandler.php index 8f4b72d5c3..a7519c1d50 100644 --- a/lib/distribqueuehandler.php +++ b/lib/distribqueuehandler.php @@ -77,14 +77,20 @@ class DistribQueueHandler $this->logit($notice, $e); } + try { + Event::handle('EndNoticeDistribute', array($notice)); + } catch (Exception $e) { + $this->logit($notice, $e); + } + try { Event::handle('EndNoticeSave', array($notice)); - // Enqueue for other handlers } catch (Exception $e) { $this->logit($notice, $e); } try { + // Enqueue for other handlers common_enqueue_notice($notice); } catch (Exception $e) { $this->logit($notice, $e);