add Evolution as know GroupDAV client and disable error_log about not know GroupDAV clients

This commit is contained in:
Ralf Becker 2011-03-07 13:58:47 +00:00
parent a7d0ee8550
commit 16851d0d88

View File

@ -346,6 +346,7 @@ abstract class groupdav_handler
'khtml' => 'kde', // KDE clients 'khtml' => 'kde', // KDE clients
'neon' => 'neon', 'neon' => 'neon',
'ical4ol' => 'ical4ol', // iCal4OL client 'ical4ol' => 'ical4ol', // iCal4OL client
'evolution' => 'evolution', // Evolution
) as $pattern => $name) ) as $pattern => $name)
{ {
if (strpos($user_agent,$pattern) !== false) if (strpos($user_agent,$pattern) !== false)
@ -356,7 +357,7 @@ abstract class groupdav_handler
} }
if (!$agent) if (!$agent)
{ {
error_log("Unrecogniced GroupDAV client: HTTP_USER_AGENT='$_SERVER[HTTP_USER_AGENT]'!"); //error_log("Unrecogniced GroupDAV client: HTTP_USER_AGENT='$_SERVER[HTTP_USER_AGENT]'!");
} }
else else
{ {