cleanup
This commit is contained in:
@@ -27,7 +27,7 @@ class LegacyModule extends BaseModule
|
||||
public static function setModuleFile($file_path)
|
||||
{
|
||||
if (!is_readable($file_path)) {
|
||||
throw new \Exception(Core\DI::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');
|
||||
|
||||
Reference in New Issue
Block a user