Preparation to add the social network "pnut"

This commit is contained in:
Michael 2017-02-02 06:06:23 +00:00
parent da30538a98
commit 275a1c6574
3 changed files with 6 additions and 0 deletions

View file

@ -66,6 +66,9 @@ function unavailable_networks() {
if (!get_config("system","diaspora_enabled"))
$networks[] = NETWORK_DIASPORA;
if (!plugin_enabled("pnut"))
$networks[] = NETWORK_PNUT;
if (!sizeof($networks))
return "";