projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f96e34
)
Don't store unknown networks
author
Michael Vogel
<icarus@dabo.de>
Tue, 19 Apr 2016 18:39:12 +0000
(20:39 +0200)
committer
Roland Haeder
<roland@mxchange.org>
Sun, 1 May 2016 11:48:52 +0000
(13:48 +0200)
include/socgraph.php
patch
|
blob
|
history
diff --git
a/include/socgraph.php
b/include/socgraph.php
index 689957f94d4d4673f993e66d1b41c79d41979b98..402fee859347f455d675c3cc3ac7d6a3c41ce7db 100644
(file)
--- 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;