put out Unrecogniced GroupDAV client Message only, when debug bis enabled

This commit is contained in:
Klaus Leithoff 2010-07-08 09:34:42 +00:00
parent 93340c8174
commit 6970e437d1

View File

@ -358,7 +358,7 @@ abstract class groupdav_handler
}
if (!$agent)
{
error_log("Unrecogniced GroupDAV client: HTTP_USER_AGENT='$_SERVER[HTTP_USER_AGENT]'!");
if ($this->debug) error_log("Unrecogniced GroupDAV client: HTTP_USER_AGENT='$_SERVER[HTTP_USER_AGENT]'!");
}
else
{