X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=actions%2Freplies.php;h=ae6ec90658dca67272bbbc39d1734012db92deee;hb=ba623d2b4e9928ddf9ca4676fac4d46bba4bd181;hp=3c7e950d012e1a8d9c518f3b2e4ee28d790ace93;hpb=a3011febdf509c7a8875e17d7cd4a8e20b724cc2;p=quix0rs-gnu-social.git diff --git a/actions/replies.php b/actions/replies.php index 3c7e950d01..ae6ec90658 100644 --- a/actions/replies.php +++ b/actions/replies.php @@ -40,10 +40,7 @@ if (!defined('GNUSOCIAL')) { exit(1); } */ class RepliesAction extends ShowstreamAction { - var $page = null; - var $notice; - - protected function getStream() + public function getStream() { return new ReplyNoticeStream($this->target->getID(), $this->scoped); } @@ -85,7 +82,7 @@ class RepliesAction extends ShowstreamAction // TRANS: Link for feed with replies for a user. // TRANS: %s is a user nickname. sprintf(_('Replies feed for %s (Activity Streams JSON)'), - $this->user->nickname)), + $this->target->getNickname())), new Feed(Feed::RSS1, common_local_url('repliesrss', array('nickname' => $this->target->getNickname())),