[ticket/security-265] Reduce verbosity of jabber error return

SECURITY-265
This commit is contained in:
Marc Alexander 2020-11-01 10:48:32 +01:00
parent 0a6421939b
commit 084675c4f3
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -227,7 +227,6 @@ class jabber
if ($this->connected()) if ($this->connected())
{ {
$xml = trim($xml); $xml = trim($xml);
$this->add_to_log('SEND: '. $xml);
return fwrite($this->connection, $xml); return fwrite($this->connection, $xml);
} }
else else
@ -338,7 +337,6 @@ class jabber
if ($data != '') if ($data != '')
{ {
$this->add_to_log('RECV: '. $data);
return $this->xmlize($data); return $this->xmlize($data);
} }
else else
@ -701,7 +699,7 @@ class jabber
default: default:
// hm...don't know this response // hm...don't know this response
$this->add_to_log('Notice: Unknown server response (' . key($xml) . ')'); $this->add_to_log('Notice: Unknown server response');
return false; return false;
break; break;
} }