]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Contact/Contacts.php
Add Dice logging for Module creation
[friendica.git] / src / Module / Contact / Contacts.php
index b5b501d6ea68c03e21b1846d02b28082f1394e10..4d74935387e7633dd4041172344f3da13bbd8c60 100644 (file)
@@ -14,7 +14,7 @@ use Friendica\Network\HTTPException;
 
 class Contacts extends BaseModule
 {
-       public function content(): string
+       protected function content(array $request = []): string
        {
                $app = DI::app();
 
@@ -22,8 +22,8 @@ class Contacts extends BaseModule
                        throw new HTTPException\ForbiddenException();
                }
 
-               $cid = static::$parameters['id'];
-               $type = static::$parameters['type'] ?? 'all';
+               $cid = $this->parameters['id'];
+               $type = $this->parameters['type'] ?? 'all';
                $accounttype = $_GET['accounttype'] ?? '';
                $accounttypeid = User::getAccountTypeByString($accounttype);