X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FModule%2FProfile%2FIndex.php;h=7a009739e4743b3983203a946be2ed7db416a4f6;hb=302619a5de7e694acc2d6883af77fa9b051bb974;hp=ff731d9b5502fabfbed8374aa17f4335847f061f;hpb=01640a7045e146759bc936dd499ac27738b78940;p=friendica.git diff --git a/src/Module/Profile/Index.php b/src/Module/Profile/Index.php index ff731d9b55..7a009739e4 100644 --- a/src/Module/Profile/Index.php +++ b/src/Module/Profile/Index.php @@ -1,6 +1,6 @@ database = $database; + $this->app = $app; + $this->session = $session; + $this->config = $config; + $this->page = $page; + $this->profileField = $profileField; + $this->dateTimeFormat = $dateTimeFormat; + $this->conversation = $conversation; + $this->pConfig = $pConfig; + $this->mode = $mode; + } + + protected function rawContent(array $request = []) { - Profile::rawContent($parameters); + (new Profile($this->profileField, $this->page, $this->config, $this->session, $this->app, $this->database, $this->l10n, $this->baseUrl, $this->args, $this->logger, $this->profiler, $this->response, $this->server, $this->parameters))->rawContent(); } - public static function content(array $parameters = []) + protected function content(array $request = []): string { - return Status::content($parameters); + return (new Conversations($this->mode, $this->pConfig, $this->conversation, $this->session, $this->config, $this->dateTimeFormat, $this->page, $this->app, $this->l10n, $this->baseUrl, $this->args, $this->logger, $this->profiler, $this->response, $this->server, $this->parameters))->content(); } }