diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-09-03 01:35:04 +0200 |
---|---|---|
committer | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2010-09-03 01:35:04 +0200 |
commit | 1bfbe9badfbe3e79f82e7216d1401f05a2750677 (patch) | |
tree | bba78cb3dc884c27558c005e101da196afbc1245 /plugins/OStatus/lib/discovery.php | |
parent | e365e709c5bab7d593ee1cde26c8bcfdddcc6780 (diff) |
* i18n/L10n updates and FIXMEs added
* whitespace fixes
Diffstat (limited to 'plugins/OStatus/lib/discovery.php')
-rw-r--r-- | plugins/OStatus/lib/discovery.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/OStatus/lib/discovery.php b/plugins/OStatus/lib/discovery.php index 7187c1f3e..ed22b452f 100644 --- a/plugins/OStatus/lib/discovery.php +++ b/plugins/OStatus/lib/discovery.php @@ -106,7 +106,8 @@ class Discovery } } - throw new Exception('Unable to find services for '. $id); + // @todo Needs i18n. + throw new Exception('Unable to find services for '. $id '.'); } public static function getService($links, $service) { @@ -160,7 +161,7 @@ class Discovery_LRDD_Host_Meta implements Discovery_LRDD } else { $domain = parse_url($uri, PHP_URL_HOST); } - + $url = 'http://'. $domain .'/.well-known/host-meta'; $xrd = Discovery::fetchXrd($url); |