reverted a change in SOGoAppointmentFolder.m which caused bad SQL to be generated

Monotone-Parent: 333349da689a5bd3ef8d70e672d7b0c0d29497a2
Monotone-Revision: 467ec5f1f0997ec12a4adbf6bc501ee81735cbdb

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2008-11-11T03:04:22
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2008-11-11 03:04:22 +00:00
parent ad06ce1c30
commit 9c57907bcf
2 changed files with 4 additions and 4 deletions

View File

@@ -514,7 +514,7 @@ static Class sogoAppointmentFolderKlass = Nil;
/* prepare mandatory fields */
sql = [[NSString stringWithFormat: @"%@ %@ %@ %@",
sql = [[NSString stringWithFormat: @"%@%@%@%@",
dateSqlString, titleSqlString, componentSqlString,
filterSqlString] substringFromIndex: 4];
@@ -1626,9 +1626,7 @@ static Class sogoAppointmentFolderKlass = Nil;
{
record = [records objectAtIndex: count];
recordURL = [cnames objectForKey: [record objectForKey: @"c_name"]];
if (recordURL)
[components setObject: record forKey: recordURL];
[components setObject: record forKey: recordURL];
}
return components;

View File

@@ -113,6 +113,7 @@ static SOGoCache *sharedCache = nil;
- (void) dealloc
{
#if 0
[[NSDistributedNotificationCenter defaultCenter]
removeObserver: self
name: @"SOGoUserDefaultsHaveChanged"
@@ -122,6 +123,7 @@ static SOGoCache *sharedCache = nil;
removeObserver: self
name: @"SOGoUserSettingsHaveChanged"
object: nil];
#endif
[cache release];
[users release];