aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Libzot.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-04-28 21:50:01 +0000
committerMario <mario@mariovavti.com>2023-04-28 21:50:01 +0000
commit39d78064da3748ed31f71c9a219433bfe9cd2d56 (patch)
treedc5d0776608147f22bd2709d963a8328e2640faa /Zotlabs/Lib/Libzot.php
parenta2bcbb90ed269d0df2a886b3343ff75dbe5f9be4 (diff)
parent354e341d69eb748a6ae1582fadade9d1012de7e4 (diff)
downloadvolse-hubzilla-39d78064da3748ed31f71c9a219433bfe9cd2d56.tar.gz
volse-hubzilla-39d78064da3748ed31f71c9a219433bfe9cd2d56.tar.bz2
volse-hubzilla-39d78064da3748ed31f71c9a219433bfe9cd2d56.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'Zotlabs/Lib/Libzot.php')
-rw-r--r--Zotlabs/Lib/Libzot.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index 1843a081d..093670338 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -674,7 +674,6 @@ class Libzot {
$arr['hash'] = $xchan_hash;
$import_photos = false;
- $xchan_censored = 0;
$sig_methods = ((array_key_exists('signing', $arr) && is_array($arr['signing'])) ? $arr['signing'] : ['sha256']);
$verified = false;
@@ -706,8 +705,6 @@ class Libzot {
if ($arr['photo'] && array_key_exists('updated', $arr['photo']) && $arr['photo']['updated'] > $r[0]['xchan_photo_date'])
$import_photos = true;
- $xchan_censored = $r[0]['xchan_censored'] ?? 0;
-
// if we import an entry from a site that's not ours and either or both of us is off the grid - hide the entry.
/** @TODO: check if we're the same directory realm, which would mean we are allowed to see it */
@@ -969,7 +966,7 @@ class Libzot {
}
// update updates if anything changed bump the ud_date
- Libzotdir::update($xchan_hash, $address, $changed, $xchan_censored);
+ Libzotdir::update($xchan_hash, $address, $changed);
if (empty($ret['message'])) {
$ret['success'] = true;