From: Michael Vogel Date: Tue, 19 Apr 2016 18:39:12 +0000 (+0200) Subject: Don't store unknown networks X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8396164afd91de7028812e5a3a437c5f0d6738c4;p=friendica.git Don't store unknown networks --- diff --git a/include/socgraph.php b/include/socgraph.php index 689957f94d..402fee8593 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -1387,6 +1387,9 @@ function get_gcontact_id($contact) { $gcontact_id = 0; + if ($contact["network"] == NETWORK_PHANTOM) + return false; + if ($contact["network"] == NETWORK_STATUSNET) $contact["network"] = NETWORK_OSTATUS;