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

This commit is contained in:
Klaus Leithoff 2010-07-08 09:37:24 +00:00
parent 1c7e2f6e27
commit 129eaec0e3

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
{