Simplify some calls in SOGoAppointmentFolder.m

pull/85/head
Francis Lachapelle 2015-04-27 10:38:29 -04:00
parent 1db2b9793a
commit 07ac3f43fb
1 changed files with 2 additions and 2 deletions

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])
{