aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Dircensor.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-04-28 08:57:21 +0200
committerMario Vavti <mario@mariovavti.com>2023-04-28 08:57:21 +0200
commit3543e6dd32bd7e518a0deec2038eafe6a183dc6b (patch)
tree6ae14b855bb7714f9f5bd27e8181bdd10360b809 /Zotlabs/Module/Dircensor.php
parent5412ba617dfbba9161484094427075480ae4b80c (diff)
downloadvolse-hubzilla-3543e6dd32bd7e518a0deec2038eafe6a183dc6b.tar.gz
volse-hubzilla-3543e6dd32bd7e518a0deec2038eafe6a183dc6b.tar.bz2
volse-hubzilla-3543e6dd32bd7e518a0deec2038eafe6a183dc6b.zip
slightly refactor dir sync
Diffstat (limited to 'Zotlabs/Module/Dircensor.php')
-rw-r--r--Zotlabs/Module/Dircensor.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Dircensor.php b/Zotlabs/Module/Dircensor.php
index b372bbf25..44c9148e8 100644
--- a/Zotlabs/Module/Dircensor.php
+++ b/Zotlabs/Module/Dircensor.php
@@ -45,7 +45,7 @@ class Dircensor extends Controller {
$flag = DIRECTORY_FLAG_HIDDEN;
}
- Libzotdir::update($xchan, $r[0]['xchan_url'], $flag);
+ Libzotdir::update($xchan, $r[0]['xchan_url'], true, $flag);
q("update xchan set xchan_censored = %d where xchan_hash = '%s'",
intval($flag),