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
|
@ -33,7 +33,7 @@ use Friendica\Module\Register;
|
|||
*/
|
||||
class Login extends BaseModule
|
||||
{
|
||||
public static function content(array $parameters = [])
|
||||
public static function content()
|
||||
{
|
||||
$return_path = $_REQUEST['return_path'] ?? '' ;
|
||||
|
||||
|
@ -46,7 +46,7 @@ class Login extends BaseModule
|
|||
return self::form(Session::get('return_path'), intval(DI::config()->get('config', 'register_policy')) !== \Friendica\Module\Register::CLOSED);
|
||||
}
|
||||
|
||||
public static function post(array $parameters = [])
|
||||
public static function post()
|
||||
{
|
||||
$return_path = Session::get('return_path');
|
||||
Session::clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue