X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fapitimelinehome.php;h=42cd08cad75e276f93396d8dc5168fbec156c195;hb=c85e78ac3c03bd584a6da3a0a7b5cb9160cc9324;hp=1eb7341ef0fb9d2a47a251598af0e8743e7c7443;hpb=29d0871e5a5b2561387bcad40ef4644ee1c2be08;p=quix0rs-gnu-social.git diff --git a/actions/apitimelinehome.php b/actions/apitimelinehome.php index 1eb7341ef0..42cd08cad7 100644 --- a/actions/apitimelinehome.php +++ b/actions/apitimelinehome.php @@ -65,7 +65,7 @@ class ApiTimelineHomeAction extends ApiBareAuthAction * * @return boolean success flag */ - protected function prepare($args) + protected function prepare(array $args=array()) { parent::prepare($args); @@ -178,7 +178,7 @@ class ApiTimelineHomeAction extends ApiBareAuthAction { $notices = array(); - $stream = new InboxNoticeStream($this->target->getUser(), $this->scoped); + $stream = new InboxNoticeStream($this->target, $this->scoped); $notice = $stream->getNotices(($this->page-1) * $this->count, $this->count,