X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FLegacyModule.php;h=ecb21ebc5ba21c84e5141afb60818612a5401ec1;hb=7033cdcd6b4a8f1e33edd332ba1799a68a6a1871;hp=9c22ec5d78a38ac1c53653c3ec23b3e6cc3973f3;hpb=1de3f186d79f3703850524c1d58c237be3eb25f3;p=friendica.git diff --git a/src/LegacyModule.php b/src/LegacyModule.php index 9c22ec5d78..ecb21ebc5b 100644 --- a/src/LegacyModule.php +++ b/src/LegacyModule.php @@ -27,7 +27,7 @@ class LegacyModule extends BaseModule public static function setModuleFile($file_path) { if (!is_readable($file_path)) { - throw new \Exception(Core\L10n::t('Legacy module file not found: %s', $file_path)); + throw new \Exception(DI::l10n()->t('Legacy module file not found: %s', $file_path)); } self::$moduleName = basename($file_path, '.php');