From 2c05985c3993f4efb8aa5679d422678ebcc717b9 Mon Sep 17 00:00:00 2001 From: Chris Burgess Date: Mon, 13 Jun 2016 11:23:08 +1200 Subject: [PATCH] (WIP) CRM-18810 remove redundant / silly consts --- CRM/Utils/Type.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CRM/Utils/Type.php b/CRM/Utils/Type.php index db7b0ea2d4..bde619b5ee 100644 --- a/CRM/Utils/Type.php +++ b/CRM/Utils/Type.php @@ -49,7 +49,10 @@ class CRM_Utils_Type { T_CCNUM = 8192, T_MEDIUMBLOB = 16384; - // @todo What's the point of these constants? Backwards compatibility? + // @TODO What's the point of these constants? Backwards compatibility? + // + // These are used for field size (), but redundant TWO=2 + // usages are rare and should be eliminated. See CRM-18810. const TWO = 2, FOUR = 4, -- 2.25.1