mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
[various] Set config loaded from default values to SOURCE_STATIC
- This prevents from clobbering values loaded from base `config/` folder
This commit is contained in:
parent
46d4d0b51e
commit
2fc7356cf4
12 changed files with 12 additions and 12 deletions
|
@ -35,7 +35,7 @@ function geonames_install()
|
|||
|
||||
function geonames_load_config(App $a, ConfigFileLoader $loader)
|
||||
{
|
||||
$a->getConfigCache()->load($loader->loadAddonConfig('geonames'));
|
||||
$a->getConfigCache()->load($loader->loadAddonConfig('geonames'), \Friendica\Core\Config\ValueObject\Cache::SOURCE_STATIC);
|
||||
}
|
||||
|
||||
function geonames_post_hook(App $a, array &$item)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue