aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2020-12-18 10:02:13 +0100
committerMario Vavti <mario@mariovavti.com>2020-12-18 10:02:13 +0100
commited4bf1c13dd183647499ce4e18c869988f674368 (patch)
treede9dfdd811bd1b492086b6166c7a393eb5de7ad9 /include
parent269efb9c1e57fadcc6e1ad6d6529a4eefc36ff48 (diff)
downloadvolse-hubzilla-ed4bf1c13dd183647499ce4e18c869988f674368.tar.gz
volse-hubzilla-ed4bf1c13dd183647499ce4e18c869988f674368.tar.bz2
volse-hubzilla-ed4bf1c13dd183647499ce4e18c869988f674368.zip
handle owa with hubloc_id_url only
Diffstat (limited to 'include')
-rw-r--r--include/zid.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/zid.php b/include/zid.php
index 538adcc41..e24b0035d 100644
--- a/include/zid.php
+++ b/include/zid.php
@@ -286,9 +286,7 @@ function owt_init($token) {
}
$r = q("select * from hubloc left join xchan on xchan_hash = hubloc_hash
- where hubloc_addr = '%s' or hubloc_id_url = '%s' or hubloc_hash = '%s' order by hubloc_id desc",
- dbesc($ob_hash),
- dbesc($ob_hash),
+ where hubloc_id_url = '%s' order by hubloc_id desc",
dbesc($ob_hash)
);
@@ -297,9 +295,7 @@ function owt_init($token) {
$wf = discover_by_webbie($ob_hash);
if($wf) {
$r = q("select * from hubloc left join xchan on xchan_hash = hubloc_hash
- where hubloc_addr = '%s' or hubloc_id_url = '%s' or hubloc_hash = '%s' order by hubloc_id desc",
- dbesc($ob_hash),
- dbesc($ob_hash),
+ where hubloc_id_url = '%s' order by hubloc_id desc",
dbesc($ob_hash)
);
}