Commit 218a8a75 authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #480 in ZP/z-push from develop to release/2.3

* commit 'affb95a8':
  ZP-1166 Check PR_DISPLAY_TYPE_EX as flag and also ignore DT_ORGANIZATION.
parents ca4b5ed9 affb95a8
...@@ -202,12 +202,17 @@ class Kopano extends ContactWorker { ...@@ -202,12 +202,17 @@ class Kopano extends ContactWorker {
continue; continue;
} }
// ignore ROOMS // ignore ROOMS
elseif (isset($entry[PR_DISPLAY_TYPE_EX]) && $entry[PR_DISPLAY_TYPE_EX] == DT_ROOM) { elseif (isset($entry[PR_DISPLAY_TYPE_EX]) && $entry[PR_DISPLAY_TYPE_EX] & DT_ROOM) {
$ignored++; $ignored++;
continue; continue;
} }
// ignore EQUIPMENT // ignore EQUIPMENT
elseif (isset($entry[PR_DISPLAY_TYPE_EX]) && $entry[PR_DISPLAY_TYPE_EX] == DT_EQUIPMENT) { elseif (isset($entry[PR_DISPLAY_TYPE_EX]) && $entry[PR_DISPLAY_TYPE_EX] & DT_EQUIPMENT) {
$ignored++;
continue;
}
// ignore ORGANIZATION
elseif (isset($entry[PR_DISPLAY_TYPE_EX]) && $entry[PR_DISPLAY_TYPE_EX] & DT_ORGANIZATION) {
$ignored++; $ignored++;
continue; continue;
} }
......
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