forked from friendica/friendica-addons
Bugfixing Addon-config
This commit is contained in:
parent
b8a492c80e
commit
2ba4c95f4b
|
@ -79,7 +79,7 @@ function geonames_uninstall() {
|
|||
|
||||
function geonames_load_config(\Friendica\App $a, Config\ConfigCacheLoader $loader)
|
||||
{
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('geonames'));
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('geonames', true));
|
||||
}
|
||||
|
||||
function geonames_post_hook($a, &$item) {
|
||||
|
|
|
@ -38,7 +38,7 @@ function gravatar_uninstall() {
|
|||
|
||||
function gravatar_load_config(App $a, Config\ConfigCacheLoader $loader)
|
||||
{
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('gravatar'));
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('gravatar', true));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -54,7 +54,7 @@ function impressum_footer($a, &$b) {
|
|||
|
||||
function impressum_load_config(\Friendica\App $a, Config\ConfigCacheLoader $loader)
|
||||
{
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('impressum'));
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('impressum', true));
|
||||
}
|
||||
|
||||
function impressum_show($a,&$b) {
|
||||
|
|
|
@ -73,7 +73,7 @@ function ldapauth_uninstall()
|
|||
|
||||
function ldapauth_load_config(\Friendica\App $a, Config\ConfigCacheLoader $loader)
|
||||
{
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('ldapauth'));
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('ldapauth', true));
|
||||
}
|
||||
|
||||
function ldapauth_hook_authenticate($a, &$b)
|
||||
|
|
|
@ -38,7 +38,7 @@ function libravatar_uninstall()
|
|||
|
||||
function libravatar_load_config(App $a, Config\ConfigCacheLoader $loader)
|
||||
{
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('libravatar'));
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('libravatar', true));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -49,7 +49,7 @@ function openstreetmap_uninstall()
|
|||
|
||||
function openstreetmap_load_config(\Friendica\App $a, Config\ConfigCacheLoader $loader)
|
||||
{
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('openstreetmap'));
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('openstreetmap', true));
|
||||
}
|
||||
|
||||
function openstreetmap_alterheader($a, &$navHtml)
|
||||
|
|
|
@ -54,7 +54,7 @@ function piwik_uninstall() {
|
|||
|
||||
function piwik_load_config(\Friendica\App $a, Config\ConfigCacheLoader $loader)
|
||||
{
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('piwik'));
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('piwik', true));
|
||||
}
|
||||
|
||||
function piwik_analytics($a,&$b) {
|
||||
|
|
|
@ -37,7 +37,7 @@ function public_server_uninstall()
|
|||
|
||||
function public_server_load_config(App $a, Config\ConfigCacheLoader $loader)
|
||||
{
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('public_server'));
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('public_server', true));
|
||||
}
|
||||
|
||||
function public_server_register_account($a, $b)
|
||||
|
|
|
@ -380,7 +380,7 @@ function pumpio_settings_post(App $a, array &$b)
|
|||
|
||||
function pumpio_load_config(App $a, Config\ConfigCacheLoader $loader)
|
||||
{
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('pumpio'));
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('pumpio', true));
|
||||
}
|
||||
|
||||
function pumpio_hook_fork(App $a, array &$b)
|
||||
|
|
|
@ -37,7 +37,7 @@ function testdrive_uninstall() {
|
|||
|
||||
function testdrive_load_config(App $a, Config\ConfigCacheLoader $loader)
|
||||
{
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('testdrive'));
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('testdrive', true));
|
||||
}
|
||||
|
||||
function testdrive_globaldir_update($a,&$b) {
|
||||
|
|
|
@ -142,7 +142,7 @@ function twitter_uninstall()
|
|||
|
||||
function twitter_load_config(App $a, Config\ConfigCacheLoader $loader)
|
||||
{
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('twitter'));
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('twitter', true));
|
||||
}
|
||||
|
||||
function twitter_check_item_notification(App $a, array &$notification_data)
|
||||
|
|
Loading…
Reference in a new issue