]> git.mxchange.org Git - friendica.git/blobdiff - src/LegacyModule.php
Remove next link when there aren't any introductions in Module\Api\Mastodon\FollowReq...
[friendica.git] / src / LegacyModule.php
index 9c22ec5d78a38ac1c53653c3ec23b3e6cc3973f3..ecb21ebc5ba21c84e5141afb60818612a5401ec1 100644 (file)
@@ -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');