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:21:50 -0400
commite7c57b43073888d18760e2411b207a4ee2cf508b (patch)
tree6897748553f3a3b5fd5b9438b4e5cdb199bc16f2 /scripts
parentf1041a3b4e1f728ddffd8df80a5d5d6f5520fea6 (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() {
}
}