Added parameters

This commit is contained in:
Michael 2019-11-05 20:22:54 +00:00
parent abe6724629
commit bd62d548db
84 changed files with 172 additions and 177 deletions

View file

@ -15,14 +15,14 @@ use Friendica\Model\TwoFactor\RecoveryCode;
*/
class Recovery extends BaseModule
{
public static function init()
public static function init($parameters)
{
if (!local_user()) {
return;
}
}
public static function post()
public static function post($parameters)
{
if (!local_user()) {
return;
@ -48,7 +48,7 @@ class Recovery extends BaseModule
}
}
public static function content()
public static function content($parameters)
{
if (!local_user()) {
self::getApp()->internalRedirect();

View file

@ -18,7 +18,7 @@ class Verify extends BaseModule
{
private static $errors = [];
public static function post()
public static function post($parameters)
{
if (!local_user()) {
return;
@ -45,7 +45,7 @@ class Verify extends BaseModule
}
}
public static function content()
public static function content($parameters)
{
if (!local_user()) {
self::getApp()->internalRedirect();