diff options
author | Evan Prodromou <evan@status.net> | 2009-09-21 14:39:22 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-09-21 14:39:22 -0400 |
commit | 98924a80d776107a734b44027dda18094b1f093f (patch) | |
tree | f0059e4c217703a28e65cc1e33ec74ad084b65ac /lib/unqueuemanager.php | |
parent | 6a088afd4be4076a31e8713ed96ac62060bf7278 (diff) |
'easy' way to handle notices at queue time
Diffstat (limited to 'lib/unqueuemanager.php')
-rw-r--r-- | lib/unqueuemanager.php | 3 |
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"); |