Merge pull request #5595 from annando/deprecated-networks
Hide deprecated networks
This commit is contained in:
commit
6b14a2623a
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user