mirror of
https://github.com/friendica/friendica
synced 2025-04-23 03:10:12 +00:00
cleanup
This commit is contained in:
parent
acd75f54d5
commit
5d8c625549
2 changed files with 9 additions and 9 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue