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
commit 6b14a2623a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;