Monotone-Parent: a311d7d0d46a40428355d5d16855425659aafddf

Monotone-Revision: 177ce0927201d7757ef2447dd1dbd4dab62930ae

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-12-04T23:19:47
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau 2007-12-04 23:19:47 +00:00
parent d68bfa6b96
commit ac0a6d8498

View file

@ -190,7 +190,7 @@
SoSecurityManager *securityManager; SoSecurityManager *securityManager;
securityManager = [SoSecurityManager sharedSecurityManager]; securityManager = [SoSecurityManager sharedSecurityManager];
// return (([securityManager validatePermission: SoPerm_AccessContentsInformation // return (([securityManager validatePermission: SoPerm_AccessContentsInformation
// onObject: contactFolder // onObject: contactFolder
// inContext: context] == nil) // inContext: context] == nil)
@ -294,8 +294,7 @@
responseString = [NSMutableString new]; responseString = [NSMutableString new];
contacts = [results objectEnumerator]; contacts = [results objectEnumerator];
contact = [contacts nextObject]; while ((contact = [contacts nextObject]))
while (contact)
{ {
uid = [contact objectForKey: @"c_uid"]; uid = [contact objectForKey: @"c_uid"];
folders = [self _foldersForUID: uid ofType: folderType]; folders = [self _foldersForUID: uid ofType: folderType];
@ -305,7 +304,6 @@
[contact objectForKey: @"cn"], [contact objectForKey: @"cn"],
[contact objectForKey: @"c_email"], [contact objectForKey: @"c_email"],
foldersString]; foldersString];
contact = [contacts nextObject];
} }
[response appendContentString: responseString]; [response appendContentString: responseString];
[responseString release]; [responseString release];