]> git.mxchange.org Git - friendica.git/commitdiff
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 cc98a8d817fae7fee9c3a2003811a1f918be292b..a46ccc62eb75a233b0c31b9a7815e0341dca6ab2 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;