mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 11:28:49 +00:00
3) Introducing ConfigFactory
This commit is contained in:
parent
36120615dd
commit
b541efc5e6
11 changed files with 26 additions and 24 deletions
|
@ -140,9 +140,9 @@ function twitter_uninstall()
|
|||
Hook::unregister('addon_settings_post', __FILE__, 'twitter_settings_post');
|
||||
}
|
||||
|
||||
function twitter_load_config(App $a)
|
||||
function twitter_load_config(App $a, Config\ConfigCacheLoader $loader)
|
||||
{
|
||||
$a->loadConfigFile(__DIR__ . '/config/twitter.config.php');
|
||||
$a->getConfig()->loadConfigArray($loader->loadConfigFile('twitter'));
|
||||
}
|
||||
|
||||
function twitter_check_item_notification(App $a, array &$notification_data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue