mirror of
https://github.com/friendica/friendica
synced 2025-04-27 18:30:12 +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
|
@ -30,7 +30,7 @@ use LightOpenID;
|
|||
*/
|
||||
class Login extends BaseModule
|
||||
{
|
||||
public static function content($parameters)
|
||||
public static function content(array $parameters = [])
|
||||
{
|
||||
$a = self::getApp();
|
||||
|
||||
|
@ -41,7 +41,7 @@ class Login extends BaseModule
|
|||
return self::form(Session::get('return_path'), intval(Config::get('config', 'register_policy')) !== \Friendica\Module\Register::CLOSED);
|
||||
}
|
||||
|
||||
public static function post($parameters)
|
||||
public static function post(array $parameters = [])
|
||||
{
|
||||
$openid_identity = Session::get('openid_identity');
|
||||
$openid_server = Session::get('openid_server');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue