namespace Friendica;
-use Friendica\Core\L10n;
use Friendica\Core\Logger;
/**
*/
public static function post(array $parameters = [])
{
- // $a = self::getApp();
- // $a->internalRedirect('module');
+ // DI::baseurl()->redirect('module');
}
/**
public static function getFormSecurityStandardErrorMessage()
{
- return L10n::t("The form security token was not correct. This probably happened because the form has been opened for too long \x28>3 hours\x29 before submitting it.") . EOL;
+ return DI::l10n()->t("The form security token was not correct. This probably happened because the form has been opened for too long \x28>3 hours\x29 before submitting it.") . EOL;
}
public static function checkFormSecurityTokenRedirectOnError($err_redirect, $typename = '', $formname = 'form_security_token')