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=53d8c21d3cbd964f55b9a2b4e4c9ce976c5b96c5;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;