Logger::log("removed geonames");
}
-function geonames_load_config(\Friendica\App $a, Config\ConfigCacheLoader $loader)
+function geonames_load_config(\Friendica\App $a, Config\Cache\ConfigCacheLoader $loader)
{
- $a->getConfig()->loadConfigArray($loader->loadAddonConfig('geonames'));
+ $a->getConfigCache()->load($loader->loadAddonConfig('geonames'));
}
function geonames_post_hook($a, &$item) {
Logger::log("unregistered gravatar in avatar_lookup hook");
}
-function gravatar_load_config(App $a, Config\ConfigCacheLoader $loader)
+function gravatar_load_config(App $a, Config\Cache\ConfigCacheLoader $loader)
{
- $a->getConfig()->loadConfigArray($loader->loadAddonConfig('gravatar'));
+ $a->getConfigCache()->load($loader->loadAddonConfig('gravatar'));
}
/**
}
}
-function impressum_load_config(\Friendica\App $a, Config\ConfigCacheLoader $loader)
+function impressum_load_config(\Friendica\App $a, Config\Cache\ConfigCacheLoader $loader)
{
- $a->getConfig()->loadConfigArray($loader->loadAddonConfig('impressum'));
+ $a->getConfigCache()->load($loader->loadAddonConfig('impressum'));
}
function impressum_show($a,&$b) {
Hook::unregister('authenticate', 'addon/ldapauth/ldapauth.php', 'ldapauth_hook_authenticate');
}
-function ldapauth_load_config(\Friendica\App $a, Config\ConfigCacheLoader $loader)
+function ldapauth_load_config(\Friendica\App $a, Config\Cache\ConfigCacheLoader $loader)
{
- $a->getConfig()->loadConfigArray($loader->loadAddonConfig('ldapauth'));
+ $a->getConfigCache()->load($loader->loadAddonConfig('ldapauth'));
}
function ldapauth_hook_authenticate($a, &$b)
Logger::log("unregistered libravatar in avatar_lookup hook");
}
-function libravatar_load_config(App $a, Config\ConfigCacheLoader $loader)
+function libravatar_load_config(App $a, Config\Cache\ConfigCacheLoader $loader)
{
- $a->getConfig()->loadConfigArray($loader->loadAddonConfig('libravatar'));
+ $a->getConfigCache()->load($loader->loadAddonConfig('libravatar'));
}
/**
Logger::log("removed openstreetmap");
}
-function openstreetmap_load_config(\Friendica\App $a, Config\ConfigCacheLoader $loader)
+function openstreetmap_load_config(\Friendica\App $a, Config\Cache\ConfigCacheLoader $loader)
{
- $a->getConfig()->loadConfigArray($loader->loadAddonConfig('openstreetmap'));
+ $a->getConfigCache()->load($loader->loadAddonConfig('openstreetmap'));
}
function openstreetmap_alterheader($a, &$navHtml)
Logger::log("uninstalled piwik addon");
}
-function piwik_load_config(\Friendica\App $a, Config\ConfigCacheLoader $loader)
+function piwik_load_config(\Friendica\App $a, Config\Cache\ConfigCacheLoader $loader)
{
- $a->getConfig()->loadConfigArray($loader->loadAddonConfig('piwik'));
+ $a->getConfigCache()->load($loader->loadAddonConfig('piwik'));
}
function piwik_analytics($a,&$b) {
Hook::unregister('logged_in', 'addon/public_server/public_server.php', 'public_server_login');
}
-function public_server_load_config(App $a, Config\ConfigCacheLoader $loader)
+function public_server_load_config(App $a, Config\Cache\ConfigCacheLoader $loader)
{
- $a->getConfig()->loadConfigArray($loader->loadAddonConfig('public_server'));
+ $a->getConfigCache()->load($loader->loadAddonConfig('public_server'));
}
function public_server_register_account($a, $b)
}
}
-function pumpio_load_config(App $a, Config\ConfigCacheLoader $loader)
+function pumpio_load_config(App $a, Config\Cache\ConfigCacheLoader $loader)
{
- $a->getConfig()->loadConfigArray($loader->loadAddonConfig('pumpio'));
+ $a->getConfigCache()->load($loader->loadAddonConfig('pumpio'));
}
function pumpio_hook_fork(App $a, array &$b)
}
-function testdrive_load_config(App $a, Config\ConfigCacheLoader $loader)
+function testdrive_load_config(App $a, Config\Cache\ConfigCacheLoader $loader)
{
- $a->getConfig()->loadConfigArray($loader->loadAddonConfig('testdrive'));
+ $a->getConfigCache()->load($loader->loadAddonConfig('testdrive'));
}
function testdrive_globaldir_update($a,&$b) {
use Friendica\Core\PConfig;
use Friendica\Core\Protocol;
use Friendica\Core\Renderer;
-use Friendica\Core\System;
use Friendica\Core\Worker;
use Friendica\Database\DBA;
use Friendica\Model\Contact;
Hook::unregister('addon_settings_post', __FILE__, 'twitter_settings_post');
}
-function twitter_load_config(App $a, Config\ConfigCacheLoader $loader)
+function twitter_load_config(App $a, Config\Cache\ConfigCacheLoader $loader)
{
- $a->getConfig()->loadConfigArray($loader->loadAddonConfig('twitter'));
+ $a->getConfigCache()->load($loader->loadAddonConfig('twitter'));
}
function twitter_check_item_notification(App $a, array &$notification_data)