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

@ -44,7 +44,7 @@ function ldapauth_install()
function ldapauth_load_config(ConfigFileManager $loader)
{
DI::app()->getConfigCache()->load($loader->loadAddonConfig('ldapauth'), \Friendica\Core\Config\ValueObject\Cache::SOURCE_STATIC);
DI::appHelper()->getConfigCache()->load($loader->loadAddonConfig('ldapauth'), \Friendica\Core\Config\ValueObject\Cache::SOURCE_STATIC);
}
function ldapauth_hook_authenticate(array &$b)