]> git.mxchange.org Git - friendica.git/blobdiff - src/BaseModule.php
remove now empty array from logger
[friendica.git] / src / BaseModule.php
index a993a95ad80b31ba3883992cb01d09477ab7d4aa..96ec2e9f1fbda4729d5c6455642593bb4f9eb668 100644 (file)
@@ -2,7 +2,6 @@
 
 namespace Friendica;
 
-use Friendica\Core\L10n;
 use Friendica\Core\Logger;
 
 /**
@@ -62,8 +61,7 @@ abstract class BaseModule
         */
        public static function post(array $parameters = [])
        {
-               // $a = self::getApp();
-               // $a->internalRedirect('module');
+               // DI::baseurl()->redirect('module');
        }
 
        /**
@@ -130,7 +128,7 @@ abstract class BaseModule
 
        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')