remove logging

This commit is contained in:
Mario Vavti
2023-04-27 11:24:26 +02:00
parent 1ed8b9dd14
commit 299b6037c9
2 changed files with 1 additions and 3 deletions

View File

@@ -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;

View File

@@ -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'",