mirror of
https://github.com/friendica/friendica
synced 2025-04-20 13:10:13 +00:00
parameters now are having a default value and are optional
This commit is contained in:
parent
bc2694bf7f
commit
8c03bdada9
110 changed files with 1840 additions and 165 deletions
|
@ -12,7 +12,7 @@ use Friendica\Network\Probe;
|
|||
*/
|
||||
class WebFinger extends BaseModule
|
||||
{
|
||||
public static function content($parameters)
|
||||
public static function content(array $parameters = [])
|
||||
{
|
||||
if (!local_user()) {
|
||||
$e = new \Friendica\Network\HTTPException\ForbiddenException(L10n::t('Only logged in users are permitted to perform a probing.'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue