mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 14:28:52 +00:00
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:
@@ -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;
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user