diff --git a/ChangeLog b/ChangeLog index 316fecbeb..eb25cbb12 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2010-01-15 Wolfgang Sourdeau + + * SoObjects/SOGo/SOGoUserSettings.m + (-setCalendarProxyUsers:withWriteAccess:) + (calendarProxyUsersWithWriteAccess:) + (setCalendarProxySubscriptionUsers:withWriteAccess:) + (calendarProxySubscriptionUsersWithWriteAccess:): "Read" and + "Write" were inverted. + 2010-01-14 Wolfgang Sourdeau * SoObjects/Appointments/SOGoAppointmentFolder.m diff --git a/SoObjects/SOGo/SOGoUserSettings.m b/SoObjects/SOGo/SOGoUserSettings.m index 916df8326..4fb7c9acd 100644 --- a/SoObjects/SOGo/SOGoUserSettings.m +++ b/SoObjects/SOGo/SOGoUserSettings.m @@ -79,7 +79,7 @@ static Class SOGoUserProfileKlass = Nil; NSString *key; key = [NSString stringWithFormat: @"CalendarProxy%@Users", - (writeAccess ? @"Read" : @"Write")]; + (writeAccess ? @"Write" : @"Read")]; [self setObject: proxyUsers forKey: key]; } @@ -89,7 +89,7 @@ static Class SOGoUserProfileKlass = Nil; NSString *key; key = [NSString stringWithFormat: @"CalendarProxy%@Users", - (writeAccess ? @"Read" : @"Write")]; + (writeAccess ? @"Write" : @"Read")]; return [self arrayForKey: key]; } @@ -101,7 +101,7 @@ static Class SOGoUserProfileKlass = Nil; NSString *key; key = [NSString stringWithFormat: @"CalendarProxy%@SubscriptionUsers", - (writeAccess ? @"Read" : @"Write")]; + (writeAccess ? @"Write" : @"Read")]; [self setObject: subscriptionUsers forKey: key]; } @@ -111,7 +111,7 @@ static Class SOGoUserProfileKlass = Nil; NSString *key; key = [NSString stringWithFormat: @"CalendarProxy%@SubscriptionUsers", - (writeAccess ? @"Read" : @"Write")]; + (writeAccess ? @"Write" : @"Read")]; return [self arrayForKey: key]; }