Merge pull request #5595 from annando/deprecated-networks

Hide deprecated networks
This commit is contained in:
Tobias Diekershoff
2018-08-10 07:07:40 +02:00
committed by GitHub

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;