summaryrefslogtreecommitdiff
path: root/plugins/GeonamesPlugin.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-04-08 10:16:55 -0700
committerBrion Vibber <brion@pobox.com>2010-04-08 10:16:55 -0700
commitee438cf1980c859ea0ff15ea455434ac26f7c90e (patch)
tree40a7fbc334291b27231f7f43a05f2306ad0280d2 /plugins/GeonamesPlugin.php
parentf255b368edc06db8af57f7ad4d13542a126c42bc (diff)
parentecd31384ed9560aac350085733af4039cf344c8a (diff)
Merge branch 'master' of git@gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'plugins/GeonamesPlugin.php')
-rw-r--r--plugins/GeonamesPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/GeonamesPlugin.php b/plugins/GeonamesPlugin.php
index 718af9e0b..bc5899943 100644
--- a/plugins/GeonamesPlugin.php
+++ b/plugins/GeonamesPlugin.php
@@ -458,7 +458,7 @@ class GeonamesPlugin extends Plugin
}
if (!$result->isOk()) {
- throw new Exception("HTTP error code " . $result->code);
+ throw new Exception("HTTP error code " . $result->getStatus());
}
$body = $result->getBody();