mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-09 18:35:10 +00:00
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:
@@ -190,7 +190,7 @@
|
||||
SoSecurityManager *securityManager;
|
||||
|
||||
securityManager = [SoSecurityManager sharedSecurityManager];
|
||||
|
||||
|
||||
// return (([securityManager validatePermission: SoPerm_AccessContentsInformation
|
||||
// onObject: contactFolder
|
||||
// inContext: context] == nil)
|
||||
@@ -294,8 +294,7 @@
|
||||
|
||||
responseString = [NSMutableString new];
|
||||
contacts = [results objectEnumerator];
|
||||
contact = [contacts nextObject];
|
||||
while (contact)
|
||||
while ((contact = [contacts nextObject]))
|
||||
{
|
||||
uid = [contact objectForKey: @"c_uid"];
|
||||
folders = [self _foldersForUID: uid ofType: folderType];
|
||||
@@ -305,7 +304,6 @@
|
||||
[contact objectForKey: @"cn"],
|
||||
[contact objectForKey: @"c_email"],
|
||||
foldersString];
|
||||
contact = [contacts nextObject];
|
||||
}
|
||||
[response appendContentString: responseString];
|
||||
[responseString release];
|
||||
|
||||
Reference in New Issue
Block a user