mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Merge pull request #803 from nupplaphil/config_refact
Config Refactoring
This commit is contained in:
commit
37dd8a938b
12 changed files with 28 additions and 26 deletions
|
@ -136,9 +136,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->loadAddonConfig('twitter'));
|
||||
}
|
||||
|
||||
function twitter_check_item_notification(App $a, array &$notification_data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue