PConfig update

updates to use PConfig::load()
pull/439/head
Adam Magness 2017-11-07 11:10:01 -05:00
parent 9a8b0948b8
commit 718f739df2
2 changed files with 2 additions and 2 deletions

View File

@ -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');

View File

@ -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');