mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-12 07:17:12 +00:00
Monotone-Parent: 2e091eebec7082ccae481171b67c0091e367dcb1
Monotone-Revision: 188f677989080c34ae076500016b9830247f2cbe Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-08-21T17:43:36 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
2acc3ed007
commit
b1a76aa21a
4 files changed
+24
-12
No files matched your search
@@ -77,20 +77,10 @@
|
||||
- (id <SOGoContactObject>) lookupContactWithId: (NSString *) recordId
|
||||
{
|
||||
SOGoContactGCSEntry *contact;
|
||||
NSArray *contactIds;
|
||||
|
||||
if ([recordId length] > 0)
|
||||
{
|
||||
contactIds = [self fetchContentObjectNames];
|
||||
if ([contactIds containsObject: recordId])
|
||||
{
|
||||
contact = [[SOGoContactGCSEntry alloc] initWithName: recordId
|
||||
inContainer: self];
|
||||
[contact autorelease];
|
||||
}
|
||||
else
|
||||
contact = nil;
|
||||
}
|
||||
contact = [SOGoContactGCSEntry objectWithName: recordId
|
||||
inContainer: self];
|
||||
else
|
||||
contact = nil;
|
||||
|
||||
|
||||
Reference in new issue
Block a user