Minor syntax and comments improvements

This commit is contained in:
Francis Lachapelle committed 2014-06-05 12:14:34 -04:00
1 parent e118a72eab
commit fe38518a36
3 files changed
+5 -4

No files matched your search

+2
View File
@@ -1264,6 +1264,8 @@ static NSArray *reminderValues = nil;
account = [folder lookupName: @"0" inContext: context acquire: NO];
if ([account updateFilters])
// If Sieve is not enabled, the SOGoSieveManager will immediatly return a positive answer
// See [SOGoSieveManager updateFiltersForAccount:withUsername:andPassword:]
results = [self responseWithStatus: 200
andJSONRepresentation: [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithBool:hasChanged], @"hasChanged", nil]];
+1 -2
View File
@@ -1057,8 +1057,7 @@ _computeBlocksPosition (NSArray *blocks)
[self _prepareEventBlocks: &blocks withAllDays: &allDayBlocks];
events = [self _fetchFields: eventsFields
forComponentOfType: @"vevent"];
eventsBlocks
= [NSArray arrayWithObjects: events, allDayBlocks, blocks, nil];
eventsBlocks = [NSArray arrayWithObjects: events, allDayBlocks, blocks, nil];
max = [events count];
for (count = 0; count < max; count++)
{