ping handler returns proper boolean response
The ping queue handler wasn't returning a true value -- filling up the queue with ping requests. It now returns a true value.
This commit is contained in:
@@ -34,7 +34,7 @@ require_once(INSTALLDIR . '/lib/queuehandler.php');
|
||||
set_error_handler('common_error_handler');
|
||||
|
||||
class PingQueueHandler extends QueueHandler {
|
||||
|
||||
|
||||
function transport() {
|
||||
return 'ping';
|
||||
}
|
||||
@@ -47,7 +47,7 @@ class PingQueueHandler extends QueueHandler {
|
||||
function handle_notice($notice) {
|
||||
return ping_broadcast_notice($notice);
|
||||
}
|
||||
|
||||
|
||||
function finish() {
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user