Hide deprecated networks
authorMichael <heluecht@pirati.ca>
Fri, 10 Aug 2018 04:59:26 +0000 (04:59 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 10 Aug 2018 04:59:26 +0000 (04:59 +0000)
src/Content/Widget.php

index cc98a8d..a46ccc6 100644 (file)
@@ -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;