Hide deprecated networks
This commit is contained in:
parent
eb4e44f572
commit
77e3e011e3
1 changed files with 2 additions and 1 deletions
|
@ -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