oc: Do not create indexing entry for a root folder
This is done by OpenChange after this patchset is merged: https://github.com/openchange/openchange/pull/273pull/84/head
parent
58449076a3
commit
030d343432
|
@ -419,7 +419,6 @@ static inline NSURL *CompleteURLFromMapistoreURI (const char *uri)
|
||||||
withFID: (uint64_t) newFid
|
withFID: (uint64_t) newFid
|
||||||
{
|
{
|
||||||
enum mapistore_error rc;
|
enum mapistore_error rc;
|
||||||
MAPIStoreMapping *mapping;
|
|
||||||
MAPIStoreFolder *baseFolder;
|
MAPIStoreFolder *baseFolder;
|
||||||
SOGoFolder *currentFolder;
|
SOGoFolder *currentFolder;
|
||||||
WOContext *woContext;
|
WOContext *woContext;
|
||||||
|
@ -427,10 +426,6 @@ static inline NSURL *CompleteURLFromMapistoreURI (const char *uri)
|
||||||
NSArray *pathComponents;
|
NSArray *pathComponents;
|
||||||
NSUInteger count, max;
|
NSUInteger count, max;
|
||||||
|
|
||||||
mapping = [userContext mapping];
|
|
||||||
if (![mapping urlFromID: newFid])
|
|
||||||
[mapping registerURL: [contextUrl absoluteString]
|
|
||||||
withID: newFid];
|
|
||||||
[userContext activateWithUser: activeUser];
|
[userContext activateWithUser: activeUser];
|
||||||
woContext = [userContext woContext];
|
woContext = [userContext woContext];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue