summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-03-19 09:21:50 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-03-19 09:39:19 -0400
commit5dc913f58951815fcaa246e675ff7d30ad93f633 (patch)
tree0df6fc58b027883bd3aec6fa1faab6ee8153ee18 /scripts
parent0e93b638b5fe5a3f087c25a48dcb1bac032e400d (diff)
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.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/pingqueuehandler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/pingqueuehandler.php b/scripts/pingqueuehandler.php
index 55a266e4a..ada6ecdba 100644
--- a/scripts/pingqueuehandler.php
+++ b/scripts/pingqueuehandler.php
@@ -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() {
}
}