Simplify some calls in SOGoAppointmentFolder.m

This commit is contained in:
Francis Lachapelle
2015-04-27 10:38:29 -04:00
parent 1db2b9793a
commit 07ac3f43fb

View File

@@ -502,12 +502,12 @@ static Class iCalEventK = nil;
BOOL is_owner;
userLogin = [[context activeUser] login];
is_owner = [userLogin isEqualToString: [self ownerInContext: context]];
is_owner = [userLogin isEqualToString: self->owner];
// Check if the owner (not the active user) has excluded the calendar from her/his free busy data.
excludeFromFreeBusy
= [self folderPropertyValueInCategory: @"FreeBusyExclusions"
forUser: [SOGoUser userWithLogin: userLogin]];
forUser: [context activeUser]];
if ([self isSubscription])
{