From ec6dd4915b5940cdefaffa66cb96ba9cf136d178 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 15 Jul 2010 17:06:29 +0000 Subject: [PATCH] Monotone-Parent: b034ac1c0af075ed2d87791ac8da96f40ca72ae5 Monotone-Revision: 60e6c68ce28bf8053a6fe5aa44b21c2c115e30b1 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-07-15T17:06:29 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 5 +++++ SoObjects/SOGo/SOGoUser.m | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 81425048f..d9d37bd12 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-07-15 Wolfgang Sourdeau + * SoObjects/SOGo/SOGoUser.m (-personalCalendarFolderInContext:): + we now make use of -[SOGoParentFolder + lookupPersonalFolder:ignoringRights:] with @"personal" and YES as + arguments. + * SoObjects/Appointments/SOGoAppointmentFolder.m (-lookupCalendarFolderForUID:): removed useless method, which can be replaced with -[SOGoUser personalCalendarFolderInContext:]. diff --git a/SoObjects/SOGo/SOGoUser.m b/SoObjects/SOGo/SOGoUser.m index 9d124b7c1..15b217c28 100644 --- a/SoObjects/SOGo/SOGoUser.m +++ b/SoObjects/SOGo/SOGoUser.m @@ -599,9 +599,8 @@ - (SOGoAppointmentFolder *) personalCalendarFolderInContext: (WOContext *) context { - return [[self calendarsFolderInContext: context] lookupName: @"personal" - inContext: context - acquire: NO]; + return [[self calendarsFolderInContext: context] lookupPersonalFolder: @"personal" + ignoringRights: YES]; } // - (id) schedulingCalendarInContext: (id) _ctx