From: Diogo Cordeiro Date: Sat, 11 May 2019 19:52:02 +0000 (+0100) Subject: [Nodeinfo] Fix twitterimport enabled check X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ceae66a30f;p=quix0rs-gnu-social.git [Nodeinfo] Fix twitterimport enabled check --- diff --git a/plugins/Nodeinfo/actions/nodeinfo_2_0.php b/plugins/Nodeinfo/actions/nodeinfo_2_0.php index 411e5c318f..63f59e11e4 100644 --- a/plugins/Nodeinfo/actions/nodeinfo_2_0.php +++ b/plugins/Nodeinfo/actions/nodeinfo_2_0.php @@ -144,7 +144,7 @@ class Nodeinfo_2_0Action extends ApiAction // FIXME: Are those always on? $inboundServices = array('atom1.0', 'rss2.0'); - if (array_key_exists('twitterbridge', $this->plugins) && $config['twitterimport']['enabled']) { + if (array_key_exists('twitterbridge', $this->plugins) && common_config('twitterimport', 'enabled')) { $inboundServices[] = 'twitter'; }