]> 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 b75dea43db25d04c597ce63e9bafb6370293cd37..4d74935387e7633dd4041172344f3da13bbd8c60 100644 (file)
@@ -14,7 +14,7 @@ use Friendica\Network\HTTPException;
 
 class Contacts extends BaseModule
 {
-       public static function content(array $parameters = [])
+       protected function content(array $request = []): string
        {
                $app = DI::app();
 
@@ -22,8 +22,8 @@ class Contacts extends BaseModule
                        throw new HTTPException\ForbiddenException();
                }
 
-               $cid = $parameters['id'];
-               $type = $parameters['type'] ?? 'all';
+               $cid = $this->parameters['id'];
+               $type = $this->parameters['type'] ?? 'all';
                $accounttype = $_GET['accounttype'] ?? '';
                $accounttypeid = User::getAccountTypeByString($accounttype);