1
0
Fork 0

Merge pull request #2465 from annando/1604-no-unknown

Don't store unknown networks
This commit is contained in:
Tobias Diekershoff 2016-04-19 21:35:01 +02:00
commit fd8df4c4d6

View 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;