Monotone-Parent: b603e0a3e30f24330cb136471c6dc9798ffe1ba5

Monotone-Revision: cf0bf1453ddf93b100f4c44465b8b4ede251cf8e

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-07-13T13:36:07
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2011-07-13 13:36:07 +00:00
parent 1944ce4b5c
commit 3eb03e75ef
4 changed files with 5 additions and 40 deletions
+5
View File
@@ -1,3 +1,8 @@
2011-07-13 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreSOGo.m (sogo_op_get_fid_by_name): removed
obsolete method.
2011-07-12 Francis Lachapelle <flachapelle@inverse.ca>
* UI/MailerUI/UIxMailFolderActions.m (-batchDeleteAction): we
-4
View File
@@ -107,10 +107,6 @@
withTableType: (uint8_t) tableType
inMemCtx: (TALLOC_CTX *) memCtx;
- (int) getFID: (uint64_t *) fid
byName: (const char *) foldername
inParentFID: (uint64_t) parent_fid;
- (int) mkDir: (struct SRow *) aRow
withFID: (uint64_t) fid
inParentFID: (uint64_t) parentFID;
-10
View File
@@ -985,16 +985,6 @@ _prepareContextClass (struct mapistore_context *newMemCtx,
return rc;
}
- (int) getFID: (uint64_t *) fid
byName: (const char *) foldername
inParentFID: (uint64_t) parent_fid
{
[self logWithFormat: @"METHOD '%s' (%d) -- foldername: %s, parent_fid: %lld",
__FUNCTION__, __LINE__, foldername, parent_fid];
return MAPISTORE_ERROR;
}
- (int) setPropertiesWithFMID: (uint64_t) fmid
ofTableType: (uint8_t) tableType
inRow: (struct SRow *) aRow
-26
View File
@@ -234,31 +234,6 @@ sogo_get_path(void *private_data, TALLOC_CTX *mem_ctx,
return rc;
}
static int
sogo_op_get_fid_by_name(void *private_data, uint64_t parent_fid, const char* foldername, uint64_t *fid)
{
NSAutoreleasePool *pool;
sogo_context *cContext;
MAPIStoreContext *context;
int rc;
DEBUG (5, ("[SOGo: %s:%d]\n", __FUNCTION__, __LINE__));
pool = [NSAutoreleasePool new];
cContext = private_data;
context = cContext->objcContext;
[context setupRequest];
rc = [context getFID: fid byName: foldername inParentFID: parent_fid];
[context tearDownRequest];
[pool release];
return rc;
}
/**
\details Create a folder in the sogo backend
@@ -1098,7 +1073,6 @@ int mapistore_init_backend(void)
backend.release_record = sogo_release_record;
backend.get_path = sogo_get_path;
backend.op_get_fid_by_name = sogo_op_get_fid_by_name;
backend.op_mkdir = sogo_op_mkdir;
backend.op_rmdir = sogo_op_rmdir;