Hide deprecated networks

This commit is contained in:
Michael 2018-08-10 04:59:26 +00:00
parent eb4e44f572
commit 77e3e011e3
1 changed files with 2 additions and 1 deletions

View File

@ -79,7 +79,8 @@ class Widget
*/ */
public static function unavailableNetworks() public static function unavailableNetworks()
{ {
$networks = array(); // Always hide content from these networks
$networks = ['face', 'apdn'];
if (!Addon::isEnabled("statusnet")) { if (!Addon::isEnabled("statusnet")) {
$networks[] = NETWORK_STATUSNET; $networks[] = NETWORK_STATUSNET;