diff options
author | Eric Helgeson <helfire@Erics-MBP.local> | 2009-03-09 20:01:35 -0500 |
---|---|---|
committer | Eric Helgeson <helfire@Erics-MBP.local> | 2009-03-09 20:01:35 -0500 |
commit | c6cd87c106b763ed5610dae64e5a02ba86609ece (patch) | |
tree | 2f93e5b2f7183fee0c6fcebce9de93033f930ae2 /actions/noticesearchrss.php | |
parent | 945bbf00dc9ee106359e9387956c72c1290d12fc (diff) |
Changed all $config[][] calls to common_config()
Diffstat (limited to 'actions/noticesearchrss.php')
-rw-r--r-- | actions/noticesearchrss.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actions/noticesearchrss.php b/actions/noticesearchrss.php index 7172977ee..0f98ed04b 100644 --- a/actions/noticesearchrss.php +++ b/actions/noticesearchrss.php @@ -82,10 +82,9 @@ class NoticesearchrssAction extends Rss10Action function getChannel() { - global $config; $q = $this->trimmed('q'); $c = array('url' => common_local_url('noticesearchrss', array('q' => $q)), - 'title' => $config['site']['name'] . sprintf(_(' Search Stream for "%s"'), $q), + 'title' => common_config('site', 'name') . sprintf(_(' Search Stream for "%s"'), $q), 'link' => common_local_url('noticesearch', array('q' => $q)), 'description' => sprintf(_('All updates matching search term "%s"'), $q)); return $c; |