Thunderbird lightning plugin message warnings

Hi,

using the lightning plugin in thunderbird to access the EGW 1.8.001.20101111 calendar results in messages in the error.log:
Unrecogniced GroupDAV client: HTTP_USER_AGENT=‘Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6)
Gecko/20071009 Thunderbird/2.0.0.6 Mnenhy/0.7.5.0’!

The following patch supress these warnings.

Sandro W.

— phpgwapi/inc/class.groupdav_handler.inc.php.orig 2010-11-21 14:51:45.000000000 +0100
+++ phpgwapi/inc/class.groupdav_handler.inc.php 2010-11-21 14:54:01.000000000 +0100
@@ -345,6 +345,7 @@
‘khtml’ => ‘kde’, // KDE clients
’neon’ => ‘neon’,
‘ical4ol’ => ‘ical4ol’, // iCal4OL client

  •                           'thunderbird'       => 'lightning',     // Thunderbird lightning plugin
                      ) as $pattern => $name)
                      {
                              if (strpos($user_agent,$pattern) !== false)