]> git.mxchange.org Git - friendica.git/commitdiff
Don't store unknown networks
authorMichael Vogel <icarus@dabo.de>
Tue, 19 Apr 2016 18:39:12 +0000 (20:39 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 1 May 2016 11:48:52 +0000 (13:48 +0200)
include/socgraph.php

index 689957f94d4d4673f993e66d1b41c79d41979b98..402fee859347f455d675c3cc3ac7d6a3c41ce7db 100644 (file)
@@ -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;