From ceae66a30ff82295de9bdd08ebe50a8ae34d41ae Mon Sep 17 00:00:00 2001 From: Diogo Cordeiro Date: Sat, 11 May 2019 20:52:02 +0100 Subject: [PATCH] [Nodeinfo] Fix twitterimport enabled check --- plugins/Nodeinfo/actions/nodeinfo_2_0.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; } -- 2.39.5