diff options
author | Evan Prodromou <evan@status.net> | 2009-09-21 14:23:35 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-09-21 14:23:35 -0400 |
commit | eb41d9e5da6a9d1e9b31ca017b5534eb6bd25b32 (patch) | |
tree | e9bd1d78dbd1a54061260e03af06f19a8049bce4 /lib/unqueuemanager.php | |
parent | 5b91223ce4ece508b25397dc00e1d04ef2e1bc28 (diff) |
add a hook for the unqueuemanager
Diffstat (limited to 'lib/unqueuemanager.php')
-rw-r--r-- | lib/unqueuemanager.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/unqueuemanager.php b/lib/unqueuemanager.php index c5dc29d38..269ecdeaa 100644 --- a/lib/unqueuemanager.php +++ b/lib/unqueuemanager.php @@ -73,7 +73,9 @@ class UnQueueManager jabber_broadcast_notice($notice); break; default: - throw ServerException("UnQueueManager: Unknown queue: $type"); + if (Event::handle('UnqueueHandleNotice', array(&$notice, $queue))) { + throw ServerException("UnQueueManager: Unknown queue: $queue"); + } } } |