mirror of
https://github.com/friendica/friendica
synced 2024-12-22 13:20:15 +00:00
Remove DI::app() call from LegacyModule
This commit is contained in:
parent
76d25a27b4
commit
5f829ac1cd
1 changed files with 1 additions and 2 deletions
|
@ -78,8 +78,7 @@ class LegacyModule extends BaseModule
|
|||
$function_name = $this->moduleName . '_' . $function_suffix;
|
||||
|
||||
if (\function_exists($function_name)) {
|
||||
$a = DI::app();
|
||||
return $function_name($a) ?? '';
|
||||
return $function_name() ?? '';
|
||||
}
|
||||
|
||||
return '';
|
||||
|
|
Loading…
Reference in a new issue