Commit 8deac821 authored by sebastian's avatar sebastian

ZP-607 #comment actively exclude "RSS Feeds" in the hierarchy sync

git-svn-id: https://z-push.org/svn/z-push/trunk@1955 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent c5022b4c
......@@ -845,6 +845,12 @@ class MAPIProvider {
return false;
}
// ignore certain undesired folders, like "RSS Feeds"
if (isset($folderprops[PR_CONTAINER_CLASS]) && $folderprops[PR_CONTAINER_CLASS] == "IPF.Note.OutlookHomepage") {
ZLog::Write(LOGLEVEL_DEBUG, sprintf("MAPIProvider->GetFolder(): folder '%s' should not be synchronized", $folderprops[PR_DISPLAY_NAME]));
return false;
}
$folder->serverid = bin2hex($folderprops[PR_SOURCE_KEY]);
if($folderprops[PR_PARENT_ENTRYID] == $storeprops[PR_IPM_SUBTREE_ENTRYID])
$folder->parentid = "0";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment