mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-22 10:10:20 +00:00
Move PConfig::load() to DI::pConfig()->load()
This commit is contained in:
parent
bc62d7ad0f
commit
2a35176588
2 changed files with 2 additions and 2 deletions
|
@ -580,7 +580,7 @@ function statusnet_post_hook(App $a, &$b)
|
|||
|
||||
Logger::log('GNU Socialpost invoked');
|
||||
|
||||
PConfig::load($b['uid'], 'statusnet');
|
||||
DI::pConfig()->load($b['uid'], 'statusnet');
|
||||
|
||||
$api = PConfig::get($b['uid'], 'statusnet', 'baseapi');
|
||||
$ckey = PConfig::get($b['uid'], 'statusnet', 'consumerkey');
|
||||
|
|
|
@ -588,7 +588,7 @@ function twitter_post_hook(App $a, array &$b)
|
|||
|
||||
Logger::notice('twitter post invoked', ['id' => $b['id'], 'guid' => $b['guid']]);
|
||||
|
||||
PConfig::load($b['uid'], 'twitter');
|
||||
DI::pConfig()->load($b['uid'], 'twitter');
|
||||
|
||||
$ckey = Config::get('twitter', 'consumerkey');
|
||||
$csecret = Config::get('twitter', 'consumersecret');
|
||||
|
|
Loading…
Reference in a new issue