Move L10n::t() calls to DI::l10n()->t() calls

This commit is contained in:
nupplaPhil
2020-01-18 20:52:34 +01:00
parent af88c2daa3
commit 5dfee31108
175 changed files with 2841 additions and 2841 deletions

View File

@@ -10,6 +10,6 @@ class MethodNotAllowed extends BaseModule
{
public static function content(array $parameters = [])
{
throw new HTTPException\MethodNotAllowedException(L10n::t('Method Not Allowed.'));
throw new HTTPException\MethodNotAllowedException(DI::l10n()->t('Method Not Allowed.'));
}
}