mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
remove logging
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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'",
|
||||
|
||||
Reference in New Issue
Block a user