From 03e967a2274202ee2b3ff9ceb868a99b8e29d5b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come.chilliet@fusiondirectory.org> Date: Wed, 1 Jul 2020 11:51:21 +0200 Subject: [PATCH] :ambulance: fix(core) Move constant defines to functions.inc issue #6071 --- include/class_msgPool.inc | 7 ------- include/functions.inc | 8 ++++++++ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/include/class_msgPool.inc b/include/class_msgPool.inc index 8d84b5f98..1a165134d 100644 --- a/include/class_msgPool.inc +++ b/include/class_msgPool.inc @@ -24,13 +24,6 @@ * Source code for class msgPool */ -define('LDAP_READ', 1); -define('LDAP_ADD', 2); -define('LDAP_MOD', 3); -define('LDAP_DEL', 4); -define('LDAP_SEARCH', 5); -define('LDAP_AUTH', 6); - /*! * \brief This class contains all the messages for the various actions */ diff --git a/include/functions.inc b/include/functions.inc index 72a3601c8..7d5a3daad 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -45,6 +45,14 @@ define('DEBUG_SI', 256); /*! Debug level for communication with Argonaut * define('DEBUG_MAIL', 512); /*! Debug level for all about mail (mailAccounts, imap, sieve etc.) */ define('DEBUG_FAI', 1024); /* FAI (incomplete) */ +/* Define constants for LDAP operations */ +define('LDAP_READ', 1); +define('LDAP_ADD', 2); +define('LDAP_MOD', 3); +define('LDAP_DEL', 4); +define('LDAP_SEARCH', 5); +define('LDAP_AUTH', 6); + /* Rewrite german 'umlauts' and spanish 'accents' to get better results */ $REWRITE = [ "ä" => "ae", -- GitLab