mirror of
https://github.com/friendica/friendica
synced 2025-04-28 00:30:10 +00:00
Replace $parameters
argument per method with static::$parameters
This commit is contained in:
parent
018275919c
commit
714f0febc4
249 changed files with 710 additions and 775 deletions
|
@ -14,7 +14,7 @@ use Friendica\Network\HTTPException;
|
|||
|
||||
class Contacts extends BaseModule
|
||||
{
|
||||
public static function content(array $parameters = [])
|
||||
public static function content()
|
||||
{
|
||||
$app = DI::app();
|
||||
|
||||
|
@ -22,8 +22,8 @@ class Contacts extends BaseModule
|
|||
throw new HTTPException\ForbiddenException();
|
||||
}
|
||||
|
||||
$cid = $parameters['id'];
|
||||
$type = $parameters['type'] ?? 'all';
|
||||
$cid = static::$parameters['id'];
|
||||
$type = static::$parameters['type'] ?? 'all';
|
||||
$accounttype = $_GET['accounttype'] ?? '';
|
||||
$accounttypeid = User::getAccountTypeByString($accounttype);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue