mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 16:35:10 +00:00
Monotone-Parent: 5b4c993653702d15ad66f63a1c94781ddd2e36aa
Monotone-Revision: 3d2df4a4cd0472c967808f3f52f6cde1831d2d1a Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-07-13T21:48:54 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -166,39 +166,6 @@ sogo_delete_context(void *private_data)
|
||||
return MAPISTORE_SUCCESS;
|
||||
}
|
||||
|
||||
/**
|
||||
\details Delete data associated to a given folder or message
|
||||
|
||||
\param private_data pointer to the current sogo context
|
||||
|
||||
\return MAPISTORE_SUCCESS on success, otherwise MAPISTORE_ERROR
|
||||
*/
|
||||
static int
|
||||
sogo_release_record(void *private_data, uint64_t fmid, uint8_t type)
|
||||
{
|
||||
NSAutoreleasePool *pool;
|
||||
sogo_context *cContext;
|
||||
MAPIStoreContext *context;
|
||||
int rc;
|
||||
|
||||
pool = [NSAutoreleasePool new];
|
||||
|
||||
DEBUG (5, ("[SOGo: %s:%d]\n", __FUNCTION__, __LINE__));
|
||||
|
||||
cContext = private_data;
|
||||
context = cContext->objcContext;
|
||||
[context setupRequest];
|
||||
|
||||
rc = [context releaseRecordWithFMID: fmid ofTableType: type];
|
||||
|
||||
[context tearDownRequest];
|
||||
|
||||
[pool release];
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
\details return the mapistore path associated to a given message or
|
||||
folder ID
|
||||
@@ -1079,7 +1046,6 @@ int mapistore_init_backend(void)
|
||||
backend.init = sogo_init;
|
||||
backend.create_context = sogo_create_context;
|
||||
backend.delete_context = sogo_delete_context;
|
||||
backend.release_record = sogo_release_record;
|
||||
|
||||
backend.get_path = sogo_get_path;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user