diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index ba119abea..f7158a401 100644 --- a/statusnet/statusnet.php +++ b/statusnet/statusnet.php @@ -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'); diff --git a/twitter/twitter.php b/twitter/twitter.php index 7260910b0..07ca8e0c4 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -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');