summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-06-20 13:50:42 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2013-06-20 13:50:42 (GMT)
commit84789326b63f7c976b7fd079cd301e8c6b0e4478 (patch)
treed84823f0ae36beddafe7254ed473934534fde9da
parent6c8942ba4016440afee3d4d8f4ed12023e46ddd8 (diff)
downloadiRony-84789326b63f7c976b7fd079cd301e8c6b0e4478.tar.gz
Detect Mac OS X 10.8 Address Book
-rw-r--r--lib/Kolab/CardDAV/ContactsBackend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kolab/CardDAV/ContactsBackend.php b/lib/Kolab/CardDAV/ContactsBackend.php
index 7d0dff0..05ac0d9 100644
--- a/lib/Kolab/CardDAV/ContactsBackend.php
+++ b/lib/Kolab/CardDAV/ContactsBackend.php
@@ -490,7 +490,7 @@ class ContactsBackend extends CardDAV\Backend\AbstractBackend
{
$ua_classes = array(
'thunderbird' => 'Thunderbird/\d',
- 'macosx' => 'AddressBook/\d.+\sCardDAVPlugin',
+ 'macosx' => '(Mac OS X/.+)?AddressBook/\d(.+\sCardDAVPlugin)?',
);
foreach ($ua_classes as $class => $regex) {