aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-04-13 11:01:57 +0200
committerMario Vavti <mario@mariovavti.com>2023-04-13 11:01:57 +0200
commit0b7bece8e3b252cc3a234f86607f4f7f9b416ddd (patch)
treec9140237f27624902270c2141aae4b55f86f5944 /Zotlabs/Lib
parent6ddf1a57867689caffb6513afe73aeea1f2ed906 (diff)
downloadvolse-hubzilla-0b7bece8e3b252cc3a234f86607f4f7f9b416ddd.tar.gz
volse-hubzilla-0b7bece8e3b252cc3a234f86607f4f7f9b416ddd.tar.bz2
volse-hubzilla-0b7bece8e3b252cc3a234f86607f4f7f9b416ddd.zip
remove pre zot6 compatibility tweaks
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Libzot.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index 8cd2718f4..13634e8dd 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -2353,19 +2353,6 @@ class Libzot {
'deleted' => (intval($hub['hubloc_deleted']) ? true : false)
];
- // version compatibility tweaks
-
- if (!strpos($z['url_sig'], '.')) {
- $z['url_sig'] = 'sha256.' . $z['url_sig'];
- }
-
- if (!$z['id_url']) {
- $z['id_url'] = $z['url'] . '/channel/' . substr($z['address'], 0, strpos($z['address'], '@'));
- }
- if (!$z['site_id']) {
- $z['site_id'] = Libzot::make_xchan_hash($z['url'], $z['sitekey']);
- }
-
$ret[] = $z;
}
}