mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Moving/Renaming ConfigCacheLoader to ConfigFileLoader
This commit is contained in:
parent
e53c289da3
commit
c8a63f6b9c
11 changed files with 22 additions and 11 deletions
|
@ -58,6 +58,7 @@ use Friendica\Core\Config;
|
|||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Model\User;
|
||||
use Friendica\Util\Config\ConfigFileLoader;
|
||||
|
||||
function ldapauth_install()
|
||||
{
|
||||
|
@ -71,7 +72,7 @@ function ldapauth_uninstall()
|
|||
Hook::unregister('authenticate', 'addon/ldapauth/ldapauth.php', 'ldapauth_hook_authenticate');
|
||||
}
|
||||
|
||||
function ldapauth_load_config(\Friendica\App $a, Config\Cache\ConfigCacheLoader $loader)
|
||||
function ldapauth_load_config(\Friendica\App $a, ConfigFileLoader $loader)
|
||||
{
|
||||
$a->getConfigCache()->load($loader->loadAddonConfig('ldapauth'));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue