From 6970e437d16d2d27b52e32be1e7f90110daf4ad3 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Thu, 8 Jul 2010 09:34:42 +0000 Subject: [PATCH] put out Unrecogniced GroupDAV client Message only, when debug bis enabled --- phpgwapi/inc/class.groupdav_handler.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.groupdav_handler.inc.php b/phpgwapi/inc/class.groupdav_handler.inc.php index c79489f6c2..f2264c2575 100644 --- a/phpgwapi/inc/class.groupdav_handler.inc.php +++ b/phpgwapi/inc/class.groupdav_handler.inc.php @@ -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 {