From: Adam Magness Date: Tue, 7 Nov 2017 16:10:01 +0000 (-0500) Subject: PConfig update X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=718f739df21e2bc0aab97f877f4f36b69dab9800;p=friendica-addons.git PConfig update updates to use PConfig::load() --- diff --git a/statusnet/statusnet.php b/statusnet/statusnet.php index ba119abe..f7158a40 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 7260910b..07ca8e0c 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');