summaryrefslogtreecommitdiff
path: root/plugins/RSSCloud/LoggingAggregator.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-12-07 09:10:04 +0000
committerZach Copley <zach@status.net>2010-01-05 23:19:13 -0800
commit61804bb7bbd0cea92ba2bbcce15e37a35195341a (patch)
tree6e96d53f41463238549fec3cf99f456af1728f29 /plugins/RSSCloud/LoggingAggregator.php
parent4e07d9eeec0e2cc8f77dbd9d6e67c9ca03adc7ba (diff)
Plugin now checks notify handlers before registering subscriptions
Diffstat (limited to 'plugins/RSSCloud/LoggingAggregator.php')
-rw-r--r--plugins/RSSCloud/LoggingAggregator.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/RSSCloud/LoggingAggregator.php b/plugins/RSSCloud/LoggingAggregator.php
index cbdefc36b..02175f43a 100644
--- a/plugins/RSSCloud/LoggingAggregator.php
+++ b/plugins/RSSCloud/LoggingAggregator.php
@@ -1,5 +1,4 @@
<?php
-
/**
* This test class pretends to be an RSS aggregator. It logs notifications
* from the cloud.
@@ -78,8 +77,7 @@ class LoggingAggregatorAction extends Action
}
header('Content-Type: text/xml');
- echo "<notifyResult success='true' msg='Thanks for the update.' challenge='" .
- $this->challenge . "' />\n";
+ echo $this->challenge;
} else {
@@ -92,7 +90,6 @@ class LoggingAggregatorAction extends Action
header('Content-Type: text/xml');
echo '<notifyResult success=\'true\' msg=\'Thanks for the update.\' />' . "\n";
-
}
$this->ip = $_SERVER['REMOTE_ADDR'];