Hide deprecated networks

This commit is contained in:
Michael 2018-08-10 04:59:26 +00:00
parent eb4e44f572
commit 77e3e011e3

View 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;