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