Commit 031ea3a8 authored by Manfred Kutas's avatar Manfred Kutas

ZP-1401 Sync Kopano contacts with gab2contacts.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 9b8e68e3
...@@ -202,17 +202,17 @@ class Kopano extends ContactWorker { ...@@ -202,17 +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++; $ignored++;
continue; continue;
} }
// ignore ORGANIZATION // 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++; $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