aboutsummaryrefslogtreecommitdiffstats
path: root/include/network.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-01-29 15:25:24 -0800
committerzotlabs <mike@macgirvin.com>2017-01-29 15:25:24 -0800
commit9addcfe827e02ca1d738c29018372db0ba8c09d6 (patch)
tree36029af71ab04824d9c2d6183ad209d5b54d76a1 /include/network.php
parentd5d67708ac912fa863a062e3469eb4ac17e84cdf (diff)
downloadvolse-hubzilla-9addcfe827e02ca1d738c29018372db0ba8c09d6.tar.gz
volse-hubzilla-9addcfe827e02ca1d738c29018372db0ba8c09d6.tar.bz2
volse-hubzilla-9addcfe827e02ca1d738c29018372db0ba8c09d6.zip
finish remaining places where xchan_store_lowlevel needs to be used
Diffstat (limited to 'include/network.php')
-rw-r--r--include/network.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/network.php b/include/network.php
index 73fd417ea..9049d016b 100644
--- a/include/network.php
+++ b/include/network.php
@@ -1450,7 +1450,6 @@ function discover_by_webbie($webbie) {
);
}
else {
-
$r = xchan_store_lowlevel(
[
'xchan_hash' => $address,
@@ -1463,17 +1462,6 @@ function discover_by_webbie($webbie) {
'xchan_network' => $network
]
);
-
- $r = q("insert into xchan ( xchan_hash, xchan_guid, xchan_pubkey, xchan_addr, xchan_url, xchan_name, xchan_network, xchan_name_date ) values ('%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s') ",
- dbesc($address),
- dbesc(($diaspora_guid) ? $diaspora_guid : $location),
- dbesc($pubkey),
- dbesc($address),
- dbesc($location),
- dbesc($fullname),
- dbesc($network),
- dbescdate(datetime_convert())
- );
}
$r = q("select * from hubloc where hubloc_hash = '%s' limit 1",