summaryrefslogtreecommitdiff
path: root/plugins/OStatus/lib/feeddiscovery.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-09 11:27:53 -0800
committerBrion Vibber <brion@pobox.com>2010-03-09 11:27:53 -0800
commit6c4ade4251eca321b5251092dbb84d648b3a4258 (patch)
tree985f5ba068b1fa96f4df23306b775ace16f2a008 /plugins/OStatus/lib/feeddiscovery.php
parent053aafe5fbd1a0026831c28bf8b382ff44bb9de6 (diff)
parent4caf0d2e73f97c3ee99b2aa902f996e9d3bbab9f (diff)
Merge branch 'testing' into 0.9.x
Diffstat (limited to 'plugins/OStatus/lib/feeddiscovery.php')
-rw-r--r--plugins/OStatus/lib/feeddiscovery.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OStatus/lib/feeddiscovery.php b/plugins/OStatus/lib/feeddiscovery.php
index 7afb71bdc..ff76b229e 100644
--- a/plugins/OStatus/lib/feeddiscovery.php
+++ b/plugins/OStatus/lib/feeddiscovery.php
@@ -129,7 +129,7 @@ class FeedDiscovery
function initFromResponse($response)
{
if (!$response->isOk()) {
- throw new FeedSubBadResponseException($response->getCode());
+ throw new FeedSubBadResponseException($response->getStatus());
}
$sourceurl = $response->getUrl();