X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Frepliesrss.php;h=985318bf168794943b1d1cc5216b21279d502f23;hb=f87ef9b72b8e054296a3fd37c74f07af5f6a6c38;hp=43be133a43a3ffb8a21e05474b96738ab504c465;hpb=4b0cf99e56f965e10eeb8b8b19e7b405bda49eaf;p=quix0rs-gnu-social.git diff --git a/actions/repliesrss.php b/actions/repliesrss.php index 43be133a43..985318bf16 100644 --- a/actions/repliesrss.php +++ b/actions/repliesrss.php @@ -28,8 +28,9 @@ class RepliesrssAction extends Rss10Action var $user = null; - function init() + function prepare($args) { + parent::prepare($args); $nickname = $this->trimmed('nickname'); $this->user = User::staticGet('nickname', $nickname); @@ -41,7 +42,7 @@ class RepliesrssAction extends Rss10Action } } - function get_notices($limit=0) + function getNotices($limit=0) { $user = $this->user; @@ -57,7 +58,7 @@ class RepliesrssAction extends Rss10Action return $notices; } - function get_channel() + function getChannel() { $user = $this->user; $c = array('url' => common_local_url('repliesrss', @@ -71,7 +72,7 @@ class RepliesrssAction extends Rss10Action return $c; } - function get_image() + function getImage() { $user = $this->user; $profile = $user->getProfile(); @@ -81,4 +82,9 @@ class RepliesrssAction extends Rss10Action $avatar = $profile->getAvatar(AVATAR_PROFILE_SIZE); return ($avatar) ? $avatar->url : null; } -} \ No newline at end of file + + function isReadOnly() + { + return true; + } +}