aboutsummaryrefslogtreecommitdiffstats
path: root/include/network.php
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-08-26 09:14:03 +0200
committermarijus <mario@mariovavti.com>2014-08-26 09:14:03 +0200
commit592be716265b79ab68209838bf879c5d26b60439 (patch)
tree0d2db6e47e9f8183136bc3679898f192c1141064 /include/network.php
parent9e8a2a06b538dd6d8919af9fb7ddfe55fc9e2a33 (diff)
parentc99d89e441c742ceaaa299c9de9c2fb322b41993 (diff)
downloadvolse-hubzilla-592be716265b79ab68209838bf879c5d26b60439.tar.gz
volse-hubzilla-592be716265b79ab68209838bf879c5d26b60439.tar.bz2
volse-hubzilla-592be716265b79ab68209838bf879c5d26b60439.zip
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'include/network.php')
-rw-r--r--include/network.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/network.php b/include/network.php
index 83a3ea4d0..ff0502f5a 100644
--- a/include/network.php
+++ b/include/network.php
@@ -929,7 +929,7 @@ function discover_by_webbie($webbie) {
dbesc($webbie)
);
if(! $r) {
- $r = q("insert into hubloc ( hubloc_guid, hubloc_hash, hubloc_addr, hubloc_network, hubloc_url, hubloc_host, hubloc_callback, hubloc_updated ) values ('%s','%s','%s','%s','%s','%s','%s','%s')",
+ $r = q("insert into hubloc ( hubloc_guid, hubloc_hash, hubloc_addr, hubloc_network, hubloc_url, hubloc_host, hubloc_callback, hubloc_updated, hubloc_flags ) values ('%s','%s','%s','%s','%s','%s','%s','%s', %d)",
dbesc($guid),
dbesc($addr),
dbesc($addr),
@@ -937,7 +937,8 @@ function discover_by_webbie($webbie) {
dbesc(trim($diaspora_base,'/')),
dbesc($hostname),
dbesc($notify),
- dbesc(datetime_convert())
+ dbesc(datetime_convert()),
+ intval(HUBLOC_FLAGS_PRIMARY)
);
}
$photos = import_profile_photo($vcard['photo'],$addr);