diff options
author | Evan Prodromou <evan@status.net> | 2010-02-20 13:31:20 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-02-20 13:31:20 -0500 |
commit | f3b08461bd476d368d444d48025709fb6a111b7d (patch) | |
tree | d5af4db40a036aa2fc45d779746fe89685fbae31 /actions/twitapisearchatom.php | |
parent | 61a072b3c492fd1b336e84655ffb6a28547acba7 (diff) |
Change to use TagURI::base() instead of common_config()
I changed the way that tag: URIs are minted, so we now use the right
base. Ideally most of these would use HTTP URIs instead, but for
now at least they use the right base.
Diffstat (limited to 'actions/twitapisearchatom.php')
-rw-r--r-- | actions/twitapisearchatom.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/twitapisearchatom.php b/actions/twitapisearchatom.php index baed2a0c7..e389ddec8 100644 --- a/actions/twitapisearchatom.php +++ b/actions/twitapisearchatom.php @@ -245,7 +245,7 @@ class TwitapisearchatomAction extends ApiAction 'xmlns:twitter' => 'http://api.twitter.com/', 'xml:lang' => 'en-US')); // XXX Other locales ? - $taguribase = common_config('integration', 'taguri'); + $taguribase = TagURI::base(); $this->element('id', null, "tag:$taguribase:search/$server"); $site_uri = common_path(false); @@ -329,7 +329,7 @@ class TwitapisearchatomAction extends ApiAction $this->elementStart('entry'); - $taguribase = common_config('integration', 'taguri'); + $taguribase = TagURI::base(); $this->element('id', null, "tag:$taguribase:$notice->id"); $this->element('published', null, common_date_w3dtf($notice->created)); |