Hide deprecated networks
This commit is contained in:
parent
eb4e44f572
commit
77e3e011e3
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue