Added scary comments

Monotone-Parent: 0bc72fc660e8d843466e5428a65d7ea595d8f88e
Monotone-Revision: ff4ded519351216e33ec0fa734612c05b21917d1

Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-07-20T18:23:44
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
C Robert 2009-07-20 18:23:44 +00:00
parent 29c77f0ffb
commit 86a694e5e1
3 changed files with 12 additions and 0 deletions

View File

@ -55,6 +55,9 @@
- (void) setEmail: (NSString *)_s
{
// WARNING
// don't touch unless you're going to re-test caldav sync
// with an iPhone AND lightning
[self setValue: 0
to: [NSString stringWithFormat: @"mailto:%@", _s]];
}

View File

@ -1999,6 +1999,9 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
content = [NSMutableArray array];
// WARNING
// don't touch unless you're going to re-test caldav sync
// with an iPhone AND lightning
[content addObject: davElementWithContent (@"recipient", XMLNS_CALDAV, recipient)];
if (user)
{
@ -2122,6 +2125,9 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
response = [context response];
if (tags)
{
// WARNING
// don't touch unless you're going to re-test caldav sync
// with an iPhone AND lightning
[response setStatus: 200];
[response appendContentString: @"<?xml version=\"1.0\""
@" encoding=\"utf-8\"?>"];

View File

@ -80,6 +80,9 @@ static unsigned int freebusyRangeEnd = 0;
um = [LDAPUserManager sharedUserManager];
contactInfos = [um contactInfosForUserWithUIDorEmail: uid];
// WARNING
// don't touch unless you're going to re-test caldav sync
// with an iPhone AND lightning
person = [iCalPerson new];
[person autorelease];
[person setEmail: [contactInfos objectForKey: @"c_email"]];