From 9addcfe827e02ca1d738c29018372db0ba8c09d6 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Sun, 29 Jan 2017 15:25:24 -0800 Subject: finish remaining places where xchan_store_lowlevel needs to be used --- include/network.php | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'include') 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", -- cgit v1.2.3