mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-03 07:44:25 +00:00
Monotone-Parent: 52f97967a551afb1284c9e0105d60c36d40f471a
Monotone-Revision: c8fd48b8c8d9b7448bdeed036dda351e575cb5df Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-07-12T21:59:04 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -644,38 +644,6 @@ _prepareContextClass (struct mapistore_context *newMemCtx,
|
||||
// [self logWithFormat: @"%@ --> %@", resStr, MAPIStringForRestrictionState (state)];
|
||||
// }
|
||||
|
||||
- (int) setRestrictions: (const struct mapi_SRestriction *) res
|
||||
withFID: (uint64_t) fid
|
||||
andTableType: (uint8_t) tableType
|
||||
getTableStatus: (uint8_t *) tableStatus
|
||||
{
|
||||
MAPIStoreTable *table;
|
||||
|
||||
[self errorWithFormat: @"%s: obsolete method", __FUNCTION__];
|
||||
|
||||
table = [self _tableForFID: fid andTableType: tableType];
|
||||
[table setRestrictions: res];
|
||||
// FIXME: we should not flush the caches if the restrictions matches
|
||||
[table cleanupCaches];
|
||||
|
||||
return MAPISTORE_SUCCESS;
|
||||
}
|
||||
|
||||
- (int) setSortOrder: (const struct SSortOrderSet *) set
|
||||
withFID: (uint64_t) fid andTableType: (uint8_t) type
|
||||
getTableStatus: (uint8_t *) tableStatus
|
||||
{
|
||||
MAPIStoreTable *table;
|
||||
|
||||
[self errorWithFormat: @"%s: obsolete method", __FUNCTION__];
|
||||
|
||||
table = [self _tableForFID: fid andTableType: type];
|
||||
[table setSortOrder: set];
|
||||
[table cleanupCaches];
|
||||
|
||||
return MAPISTORE_SUCCESS;
|
||||
}
|
||||
|
||||
- (int) openMessage: (struct mapistore_message *) msg
|
||||
withMID: (uint64_t) mid
|
||||
inFID: (uint64_t) fid
|
||||
|
||||
Reference in New Issue
Block a user