Replace DI::app() with DI::appHelper()

This commit is contained in:
Art4 2024-12-11 21:47:10 +00:00
parent 5f7482d081
commit 84659fc1ad
19 changed files with 21 additions and 21 deletions

View file

@ -55,7 +55,7 @@ function impressum_footer(string &$body)
function impressum_load_config(ConfigFileManager $loader)
{
DI::app()->getConfigCache()->load($loader->loadAddonConfig('impressum'), \Friendica\Core\Config\ValueObject\Cache::SOURCE_STATIC);
DI::appHelper()->getConfigCache()->load($loader->loadAddonConfig('impressum'), \Friendica\Core\Config\ValueObject\Cache::SOURCE_STATIC);
}
function impressum_show(string &$body)