forked from GNUsocial/gnu-social
Fix unqueuemanager for updated QueueHandler interface
This commit is contained in:
parent
6e4cad71e5
commit
a66181c900
@ -47,7 +47,7 @@ class UnQueueManager extends QueueManager
|
|||||||
|
|
||||||
$handler = $this->getHandler($queue);
|
$handler = $this->getHandler($queue);
|
||||||
if ($handler) {
|
if ($handler) {
|
||||||
$handler->handle_notice($notice);
|
$handler->handle($notice);
|
||||||
} else {
|
} else {
|
||||||
if (Event::handle('UnqueueHandleNotice', array(&$notice, $queue))) {
|
if (Event::handle('UnqueueHandleNotice', array(&$notice, $queue))) {
|
||||||
throw new ServerException("UnQueueManager: Unknown queue: $queue");
|
throw new ServerException("UnQueueManager: Unknown queue: $queue");
|
||||||
|
Loading…
Reference in New Issue
Block a user