mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-04 12:58:50 +00:00
Monotone-Parent: a797dc8fdc5b4a9a938cb4ecf4b99bda3e239fb7
Monotone-Revision: 08f69e80d11df21083547348b4136cf77bdb5a78 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-08-06T19:16:46 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -132,18 +132,7 @@ static Class MAPIStoreFolderK;
|
||||
/* helpers */
|
||||
- (uint64_t) objectId
|
||||
{
|
||||
uint64_t objectId;
|
||||
|
||||
if ([container isKindOfClass: MAPIStoreFolderK])
|
||||
objectId = [(MAPIStoreFolder *) container
|
||||
idForObjectWithKey: [sogoObject nameInContainer]];
|
||||
else
|
||||
{
|
||||
[self errorWithFormat: @"%s: container is not a folder", __PRETTY_FUNCTION__];
|
||||
objectId = (uint64_t) -1;
|
||||
}
|
||||
|
||||
return objectId;
|
||||
return [container idForObjectWithKey: [sogoObject nameInContainer]];
|
||||
}
|
||||
|
||||
/* getters */
|
||||
|
||||
Reference in New Issue
Block a user