]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Contact/Media.php
Removed redundant maximagesize = INF statements
[friendica.git] / src / Module / Contact / Media.php
index d9a03995796d1e76dc7be20c377d71f100c40535..0678cacd3e792b05b6511eceece610e15e73d435 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
  *
@@ -34,9 +34,9 @@ use Friendica\Network\HTTPException\BadRequestException;
  */
 class Media extends BaseModule
 {
-       public function content(): string
+       protected function content(array $request = []): string
        {
-               $cid = static::$parameters['id'];
+               $cid = $this->parameters['id'];
 
                $contact = Model\Contact::selectFirst([], ['id' => $cid]);
                if (empty($contact)) {