finish remaining places where xchan_store_lowlevel needs to be used
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user