aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-04-27 11:24:26 +0200
committerMario Vavti <mario@mariovavti.com>2023-04-27 11:24:26 +0200
commit299b6037c99eafe13c94284029d55beddb571a5e (patch)
treeeaa5ccedce3d5867dfec0f357f611e5addf56062 /Zotlabs
parent1ed8b9dd149b9d2cb2fe30dc56ddc24cc523255c (diff)
downloadvolse-hubzilla-299b6037c99eafe13c94284029d55beddb571a5e.tar.gz
volse-hubzilla-299b6037c99eafe13c94284029d55beddb571a5e.tar.bz2
volse-hubzilla-299b6037c99eafe13c94284029d55beddb571a5e.zip
remove logging
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/Libzotdir.php2
-rw-r--r--Zotlabs/Module/Dircensor.php2
2 files changed, 1 insertions, 3 deletions
diff --git a/Zotlabs/Lib/Libzotdir.php b/Zotlabs/Lib/Libzotdir.php
index d3772f2dc..b000c0a69 100644
--- a/Zotlabs/Lib/Libzotdir.php
+++ b/Zotlabs/Lib/Libzotdir.php
@@ -668,10 +668,8 @@ class Libzotdir {
*/
static function update($hash, $addr, $bump_date = true, $flag = DIRECTORY_FLAG_OK) {
-hz_syslog('flag: '. print_r($flag, true));
$dirmode = intval(get_config('system', 'directory_mode'));
-hz_syslog('gothere');
if($dirmode == DIRECTORY_MODE_NORMAL) {
return;
diff --git a/Zotlabs/Module/Dircensor.php b/Zotlabs/Module/Dircensor.php
index 90759e58d..44c9148e8 100644
--- a/Zotlabs/Module/Dircensor.php
+++ b/Zotlabs/Module/Dircensor.php
@@ -44,7 +44,7 @@ class Dircensor extends Controller {
if ($severity === 2) {
$flag = DIRECTORY_FLAG_HIDDEN;
}
-hz_syslog('flag: '. print_r($flag, true));
+
Libzotdir::update($xchan, $r[0]['xchan_url'], true, $flag);
q("update xchan set xchan_censored = %d where xchan_hash = '%s'",