]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Profile/Index.php
Move missing POST part of Profile\Photos from mod/photos
[friendica.git] / src / Module / Profile / Index.php
index 653eb2a199c900b60fc034fc480aedc40acedfa6..9bcc227cdf127b2ed200a5fe5afba0a0372bd3da 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -35,13 +35,13 @@ use Friendica\Core\L10n;
  */
 class Index extends BaseModule
 {
-       public function rawContent()
+       protected function rawContent(array $request = [])
        {
-               (new Profile($this->l10n, $this->parameters))->rawContent();
+               (new Profile($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 Status($this->l10n, $this->baseUrl, $this->args, $this->logger, $this->profiler, $this->response, $this->server, $this->parameters))->content();
        }
 }