From 2ba4c95f4b714654f4c298501e60d48921f7a949 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Mon, 4 Feb 2019 02:07:58 +0100 Subject: [PATCH] Bugfixing Addon-config --- geonames/geonames.php | 2 +- gravatar/gravatar.php | 2 +- impressum/impressum.php | 2 +- ldapauth/ldapauth.php | 2 +- libravatar/libravatar.php | 2 +- openstreetmap/openstreetmap.php | 2 +- piwik/piwik.php | 2 +- public_server/public_server.php | 2 +- pumpio/pumpio.php | 2 +- testdrive/testdrive.php | 2 +- twitter/twitter.php | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/geonames/geonames.php b/geonames/geonames.php index 30577176..b1d8278b 100644 --- a/geonames/geonames.php +++ b/geonames/geonames.php @@ -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) { diff --git a/gravatar/gravatar.php b/gravatar/gravatar.php index e5fd4c06..f004eb80 100644 --- a/gravatar/gravatar.php +++ b/gravatar/gravatar.php @@ -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)); } /** diff --git a/impressum/impressum.php b/impressum/impressum.php index c8ca7e34..49bf8264 100644 --- a/impressum/impressum.php +++ b/impressum/impressum.php @@ -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) { diff --git a/ldapauth/ldapauth.php b/ldapauth/ldapauth.php index 637643a8..cf6b4b4a 100644 --- a/ldapauth/ldapauth.php +++ b/ldapauth/ldapauth.php @@ -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) diff --git a/libravatar/libravatar.php b/libravatar/libravatar.php index e4f3672a..0edcc767 100644 --- a/libravatar/libravatar.php +++ b/libravatar/libravatar.php @@ -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)); } /** diff --git a/openstreetmap/openstreetmap.php b/openstreetmap/openstreetmap.php index 09ad61b6..14cd411d 100644 --- a/openstreetmap/openstreetmap.php +++ b/openstreetmap/openstreetmap.php @@ -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) diff --git a/piwik/piwik.php b/piwik/piwik.php index 2143c331..6341a702 100644 --- a/piwik/piwik.php +++ b/piwik/piwik.php @@ -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) { diff --git a/public_server/public_server.php b/public_server/public_server.php index 8769b217..bb294e3a 100644 --- a/public_server/public_server.php +++ b/public_server/public_server.php @@ -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) diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index 55943a81..428d626d 100644 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -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) diff --git a/testdrive/testdrive.php b/testdrive/testdrive.php index 272e6b9d..bf670983 100644 --- a/testdrive/testdrive.php +++ b/testdrive/testdrive.php @@ -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) { diff --git a/twitter/twitter.php b/twitter/twitter.php index 3054a345..fa9354ed 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -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) -- 2.39.5