X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FProfile%2FIndex.php;h=7a009739e4743b3983203a946be2ed7db416a4f6;hb=302619a5de7e694acc2d6883af77fa9b051bb974;hp=653eb2a199c900b60fc034fc480aedc40acedfa6;hpb=645e4edc63a6b4cb273e06590a77f99619037e7b;p=friendica.git diff --git a/src/Module/Profile/Index.php b/src/Module/Profile/Index.php index 653eb2a199..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 = []) { - (new Profile($this->l10n, $this->parameters))->rawContent(); + (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 function content(): string + protected function content(array $request = []): string { - return (new Status($this->l10n, $this->parameters))->content(); + 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(); } }