X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fnoticesearchrss.php;h=20fe0ff2abddfe337ef78b00d7028e6dbecb98a5;hb=6edbf3ca781d20f2ec98daf32080c60e804d8215;hp=a7df62ca025e89fd1fddb9db3e5d85e4e7abb9b7;hpb=edbc0c665cc65875b4d14b79939233b1c9c06bb6;p=quix0rs-gnu-social.git diff --git a/actions/noticesearchrss.php b/actions/noticesearchrss.php index a7df62ca02..20fe0ff2ab 100644 --- a/actions/noticesearchrss.php +++ b/actions/noticesearchrss.php @@ -23,13 +23,16 @@ require_once(INSTALLDIR.'/lib/rssaction.php'); // Formatting of RSS handled by Rss10Action -class NoticesearchrssAction extends Rss10Action { +class NoticesearchrssAction extends Rss10Action +{ - function init() { + function init() + { return true; } - function get_notices($limit=0) { + function get_notices($limit=0) + { $q = $this->trimmed('q'); $notices = array(); @@ -54,7 +57,8 @@ class NoticesearchrssAction extends Rss10Action { return $notices; } - function get_channel() { + function get_channel() + { global $config; $q = $this->trimmed('q'); $c = array('url' => common_local_url('noticesearchrss', array('q' => $q)), @@ -64,7 +68,8 @@ class NoticesearchrssAction extends Rss10Action { return $c; } - function get_image() { - return NULL; + function get_image() + { + return null; } }