aboutsummaryrefslogtreecommitdiffstats
path: root/include/zid.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-04-22 07:44:51 +0000
committerMario <mario@mariovavti.com>2020-04-22 07:44:51 +0000
commitb1b9dbe55f4cc0740b113514085da52f290853ee (patch)
tree2a29d00dc0392ce1756afe5e8a54f58aa8a97115 /include/zid.php
parent579adb48978172ae26f8cb1c724b8b17a6a37b34 (diff)
downloadvolse-hubzilla-b1b9dbe55f4cc0740b113514085da52f290853ee.tar.gz
volse-hubzilla-b1b9dbe55f4cc0740b113514085da52f290853ee.tar.bz2
volse-hubzilla-b1b9dbe55f4cc0740b113514085da52f290853ee.zip
more prefer zot6 over zot
Diffstat (limited to 'include/zid.php')
-rw-r--r--include/zid.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/zid.php b/include/zid.php
index 325af5580..10e09e212 100644
--- a/include/zid.php
+++ b/include/zid.php
@@ -1,5 +1,6 @@
<?php
+use Zotlabs\Lib\Libzot;
use Zotlabs\Lib\Verify;
use Zotlabs\Zot\Finger;
@@ -402,9 +403,7 @@ function observer_auth($ob_hash) {
return;
}
- // Note: this has no Libzot namespace so prefers zot over zot6
-
- $hubloc = zot_record_preferred($r);
+ $hubloc = Libzot::zot_record_preferred($r);
$_SESSION['authenticated'] = 1;