Commit 07c2cd31 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-916 Only define constants if they are not defined yet.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 6c221e65
......@@ -49,8 +49,12 @@ include_once('mapi/mapitags.php');
include_once('mapi/mapicode.php');
include_once('mapi/mapiguid.php');
define('PR_EMS_AB_THUMBNAIL_PHOTO', mapi_prop_tag(PT_BINARY, 0x8C9E));
define('PR_EC_AB_HIDDEN', mapi_prop_tag(PT_BOOLEAN, 0x67A7));
if (!defined('PR_EMS_AB_THUMBNAIL_PHOTO')) {
define('PR_EMS_AB_THUMBNAIL_PHOTO', mapi_prop_tag(PT_BINARY, 0x8C9E));
}
if (!defined('PR_EC_AB_HIDDEN')) {
define('PR_EC_AB_HIDDEN', mapi_prop_tag(PT_BOOLEAN, 0x67A7));
}
class Kopano extends SyncWorker {
const NAME = "Z-Push Kopano GAB Sync";
......
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