From c5c2bfb7a6117b00d563bf0230fb435b6026972d Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Mon, 15 Sep 2014 14:08:54 -0400 Subject: [PATCH] Fixed iCal detection for 10.9 (and perhaps even 10.8) --- SoObjects/Appointments/SOGoUserFolder+Appointments.h | 4 +--- SoObjects/Appointments/SOGoUserFolder+Appointments.m | 4 +--- SoObjects/SOGo/WORequest+SOGo.m | 3 ++- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/SoObjects/Appointments/SOGoUserFolder+Appointments.h b/SoObjects/Appointments/SOGoUserFolder+Appointments.h index 9342de19a..df99e17d5 100644 --- a/SoObjects/Appointments/SOGoUserFolder+Appointments.h +++ b/SoObjects/Appointments/SOGoUserFolder+Appointments.h @@ -1,8 +1,6 @@ /* SOGoUserFolder+Appointments.h - this file is part of SOGo * - * Copyright (C) 2008-2010 Inverse inc. - * - * Author: Wolfgang Sourdeau + * Copyright (C) 2008-2014 Inverse inc. * * This file is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/SoObjects/Appointments/SOGoUserFolder+Appointments.m b/SoObjects/Appointments/SOGoUserFolder+Appointments.m index cc31f195a..7c1e6403e 100644 --- a/SoObjects/Appointments/SOGoUserFolder+Appointments.m +++ b/SoObjects/Appointments/SOGoUserFolder+Appointments.m @@ -1,8 +1,6 @@ /* SOGoUserFolder+Appointments.m - this file is part of SOGo * - * Copyright (C) 2008-2010 Inverse inc. - * - * Author: Wolfgang Sourdeau + * Copyright (C) 2008-2014 Inverse inc. * * This file is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/SoObjects/SOGo/WORequest+SOGo.m b/SoObjects/SOGo/WORequest+SOGo.m index b622fb1d1..ff3554fd6 100644 --- a/SoObjects/SOGo/WORequest+SOGo.m +++ b/SoObjects/SOGo/WORequest+SOGo.m @@ -1,6 +1,6 @@ /* WORequest+SOGo.m - this file is part of SOGo * - * Copyright (C) 2007-2013 Inverse inc. + * Copyright (C) 2007-2014 Inverse inc. * * This file is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -130,6 +130,7 @@ - (BOOL) isICal { return ([self isAppleDAVWithSubstring: @"Mac OS X/10."] + || [self isAppleDAVWithSubstring: @"Mac_OS_X/"] || [self isAppleDAVWithSubstring: @"CoreDAV/"]); }