forked from friendica/friendica-addons
PConfig update
updates to use PConfig::load()
This commit is contained in:
parent
9a8b0948b8
commit
718f739df2
2 changed files with 2 additions and 2 deletions
|
@ -567,7 +567,7 @@ function statusnet_post_hook(&$a,&$b) {
|
|||
|
||||
logger('GNU Socialpost invoked');
|
||||
|
||||
load_pconfig($b['uid'], 'statusnet');
|
||||
PConfig::load($b['uid'], 'statusnet');
|
||||
|
||||
$api = PConfig::get($b['uid'], 'statusnet', 'baseapi');
|
||||
$ckey = PConfig::get($b['uid'], 'statusnet', 'consumerkey');
|
||||
|
|
|
@ -473,7 +473,7 @@ function twitter_post_hook(&$a,&$b) {
|
|||
logger('twitter post invoked');
|
||||
|
||||
|
||||
load_pconfig($b['uid'], 'twitter');
|
||||
PConfig::load($b['uid'], 'twitter');
|
||||
|
||||
$ckey = Config::get('twitter', 'consumerkey');
|
||||
$csecret = Config::get('twitter', 'consumersecret');
|
||||
|
|
Loading…
Reference in a new issue