Commit 401043cc authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #691 in ZP/z-push from...

Merge pull request #691 in ZP/z-push from bugfix/ZP-1401-in-gab2contacts-also-sync-kopano-contacts to develop

* commit '031ea3a8':
  ZP-1401 Sync Kopano contacts with gab2contacts.
parents 5b470328 031ea3a8
......@@ -202,17 +202,17 @@ class Kopano extends ContactWorker {
continue;
}
// 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++;
continue;
}
// 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) {
elseif (isset($entry[PR_DISPLAY_TYPE_EX]) && $entry[PR_DISPLAY_TYPE_EX] == DT_ORGANIZATION) {
$ignored++;
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