From 718f739df21e2bc0aab97f877f4f36b69dab9800 Mon Sep 17 00:00:00 2001 From: Adam Magness Date: Tue, 7 Nov 2017 11:10:01 -0500 Subject: [PATCH] PConfig update updates to use PConfig::load() --- statusnet/statusnet.php | 2 +- twitter/twitter.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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');