mirror of
https://github.com/friendica/friendica
synced 2025-04-26 07:50:15 +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
|
@ -18,7 +18,7 @@ use Friendica\Util\Proxy as ProxyUtils;
|
|||
|
||||
class Contacts extends BaseModule
|
||||
{
|
||||
public static function content($parameters)
|
||||
public static function content(array $parameters = [])
|
||||
{
|
||||
if (Config::get('system', 'block_public') && !Session::isAuthenticated()) {
|
||||
throw new \Friendica\Network\HTTPException\NotFoundException(L10n::t('User not found.'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue