From 77e3e011e3bbf70b0304bf98caaee1299e9acb5b Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 10 Aug 2018 04:59:26 +0000 Subject: [PATCH] Hide deprecated networks --- src/Content/Widget.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Content/Widget.php b/src/Content/Widget.php index cc98a8d817..a46ccc62eb 100644 --- a/src/Content/Widget.php +++ b/src/Content/Widget.php @@ -79,7 +79,8 @@ class Widget */ public static function unavailableNetworks() { - $networks = array(); + // Always hide content from these networks + $networks = ['face', 'apdn']; if (!Addon::isEnabled("statusnet")) { $networks[] = NETWORK_STATUSNET;