Commit 21b3cea8 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-998 Use elseif to be 0.0000001% faster.

Released under the Affero GNU General Public License (AGPL) version 3.
parent b43ac5c6
...@@ -212,12 +212,12 @@ class Kopano extends ContactWorker { ...@@ -212,12 +212,12 @@ class Kopano extends ContactWorker {
continue; continue;
} }
// ignore ROOMS // ignore ROOMS
else if (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
else if (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;
} }
......
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