summaryrefslogtreecommitdiff
path: root/lib/unqueuemanager.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-09-21 14:39:22 -0400
committerEvan Prodromou <evan@status.net>2009-09-21 14:39:22 -0400
commit98924a80d776107a734b44027dda18094b1f093f (patch)
treef0059e4c217703a28e65cc1e33ec74ad084b65ac /lib/unqueuemanager.php
parent6a088afd4be4076a31e8713ed96ac62060bf7278 (diff)
'easy' way to handle notices at queue time
Diffstat (limited to 'lib/unqueuemanager.php')
-rw-r--r--lib/unqueuemanager.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/unqueuemanager.php b/lib/unqueuemanager.php
index 269ecdeaa..6cfe5bcbd 100644
--- a/lib/unqueuemanager.php
+++ b/lib/unqueuemanager.php
@@ -72,6 +72,9 @@ class UnQueueManager
require_once(INSTALLDIR.'/lib/jabber.php');
jabber_broadcast_notice($notice);
break;
+ case 'plugin':
+ Event::handle('HandleQueuedNotice', array(&$notice));
+ break;
default:
if (Event::handle('UnqueueHandleNotice', array(&$notice, $queue))) {
throw ServerException("UnQueueManager: Unknown queue: $queue");