return correct values for success in handling messages
darcs-hash:20080828011002-84dde-8099da64841ab137e915249025857f34084c0f34.gz
This commit is contained in:
@@ -44,8 +44,11 @@ class OmbQueueHandler extends QueueHandler {
|
||||
}
|
||||
|
||||
function handle_notice($notice) {
|
||||
if (!$this->is_remote($notice)) {
|
||||
omb_broadcast_remote_subscribers($notice);
|
||||
if ($this->is_remote($notice)) {
|
||||
# It's fine, we're done with it.
|
||||
return true;
|
||||
} else {
|
||||
return omb_broadcast_remote_subscribers($notice);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user