use Friendica\Core\L10n;
use Friendica\Core\Logger;
use Friendica\Core\PConfig;
+use Friendica\Util\Config\ConfigFileLoader;
use Friendica\Util\Network;
use Friendica\Util\XML;
Logger::log("removed geonames");
}
-function geonames_load_config(\Friendica\App $a, Config\Cache\ConfigCacheLoader $loader)
+function geonames_load_config(\Friendica\App $a, ConfigFileLoader $loader)
{
$a->getConfigCache()->load($loader->loadAddonConfig('geonames'));
}
use Friendica\Core\Logger;
use Friendica\Core\Renderer;
use Friendica\Database\DBA;
+use Friendica\Util\Config\ConfigFileLoader;
use Friendica\Util\Strings;
/**
Logger::log("unregistered gravatar in avatar_lookup hook");
}
-function gravatar_load_config(App $a, Config\Cache\ConfigCacheLoader $loader)
+function gravatar_load_config(App $a, ConfigFileLoader $loader)
{
$a->getConfigCache()->load($loader->loadAddonConfig('gravatar'));
}
use Friendica\Core\L10n;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;
+use Friendica\Util\Config\ConfigFileLoader;
use Friendica\Util\Proxy as ProxyUtils;
use Friendica\Util\Strings;
}
}
-function impressum_load_config(\Friendica\App $a, Config\Cache\ConfigCacheLoader $loader)
+function impressum_load_config(\Friendica\App $a, ConfigFileLoader $loader)
{
$a->getConfigCache()->load($loader->loadAddonConfig('impressum'));
}
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Model\User;
+use Friendica\Util\Config\ConfigFileLoader;
function ldapauth_install()
{
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'));
}
use Friendica\Core\Logger;
use Friendica\Core\Renderer;
use Friendica\Database\DBA;
+use Friendica\Util\Config\ConfigFileLoader;
use Friendica\Util\Strings;
/**
Logger::log("unregistered libravatar in avatar_lookup hook");
}
-function libravatar_load_config(App $a, Config\Cache\ConfigCacheLoader $loader)
+function libravatar_load_config(App $a, ConfigFileLoader $loader)
{
$a->getConfigCache()->load($loader->loadAddonConfig('libravatar'));
}
use Friendica\Core\L10n;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;
+use Friendica\Util\Config\ConfigFileLoader;
use Friendica\Util\Network;
use Friendica\Util\Strings;
Logger::log("removed openstreetmap");
}
-function openstreetmap_load_config(\Friendica\App $a, Config\Cache\ConfigCacheLoader $loader)
+function openstreetmap_load_config(\Friendica\App $a, ConfigFileLoader $loader)
{
$a->getConfigCache()->load($loader->loadAddonConfig('openstreetmap'));
}
use Friendica\Core\L10n;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;
+use Friendica\Util\Config\ConfigFileLoader;
use Friendica\Util\Strings;
function piwik_install() {
Logger::log("uninstalled piwik addon");
}
-function piwik_load_config(\Friendica\App $a, Config\Cache\ConfigCacheLoader $loader)
+function piwik_load_config(\Friendica\App $a, ConfigFileLoader $loader)
{
$a->getConfigCache()->load($loader->loadAddonConfig('piwik'));
}
use Friendica\Core\Logger;
use Friendica\Core\Renderer;
use Friendica\Database\DBA;
+use Friendica\Util\Config\ConfigFileLoader;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Strings;
Hook::unregister('logged_in', 'addon/public_server/public_server.php', 'public_server_login');
}
-function public_server_load_config(App $a, Config\Cache\ConfigCacheLoader $loader)
+function public_server_load_config(App $a, ConfigFileLoader $loader)
{
$a->getConfigCache()->load($loader->loadAddonConfig('public_server'));
}
use Friendica\Model\Item;
use Friendica\Model\Queue;
use Friendica\Model\User;
+use Friendica\Util\Config\ConfigFileLoader;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Network;
use Friendica\Util\Strings;
}
}
-function pumpio_load_config(App $a, Config\Cache\ConfigCacheLoader $loader)
+function pumpio_load_config(App $a, ConfigFileLoader $loader)
{
$a->getConfigCache()->load($loader->loadAddonConfig('pumpio'));
}
use Friendica\Core\L10n;
use Friendica\Database\DBA;
use Friendica\Model\User;
+use Friendica\Util\Config\ConfigFileLoader;
use Friendica\Util\DateTimeFormat;
function testdrive_install() {
}
-function testdrive_load_config(App $a, Config\Cache\ConfigCacheLoader $loader)
+function testdrive_load_config(App $a, ConfigFileLoader $loader)
{
$a->getConfigCache()->load($loader->loadAddonConfig('testdrive'));
}
use Friendica\Model\Queue;
use Friendica\Model\User;
use Friendica\Object\Image;
+use Friendica\Util\Config\ConfigFileLoader;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Network;
use Friendica\Util\Strings;
Hook::unregister('addon_settings_post', __FILE__, 'twitter_settings_post');
}
-function twitter_load_config(App $a, Config\Cache\ConfigCacheLoader $loader)
+function twitter_load_config(App $a, ConfigFileLoader $loader)
{
$a->getConfigCache()->load($loader->loadAddonConfig('twitter'));
}