summaryrefslogtreecommitdiff
path: root/plugins/OStatus/lib
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-09 11:27:30 -0800
committerBrion Vibber <brion@pobox.com>2010-03-09 11:27:30 -0800
commit4caf0d2e73f97c3ee99b2aa902f996e9d3bbab9f (patch)
tree67a3e8112430c003acab323f476db532e04fa943 /plugins/OStatus/lib
parent72e4c733735ac590599bef392611314370135b37 (diff)
parent58192ad68758437a37d8af19d6676d35699ed070 (diff)
Merge commit 'origin/master' into testing
Diffstat (limited to 'plugins/OStatus/lib')
-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();