From dbd8e619c8cbbe31a7ef013c0b657fc59eba0e31 Mon Sep 17 00:00:00 2001 From: kurund Date: Wed, 7 Aug 2013 22:42:51 +0530 Subject: [PATCH] remove obsolete code --- CRM/Event/Form/ManageEvent/Fee.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/CRM/Event/Form/ManageEvent/Fee.php b/CRM/Event/Form/ManageEvent/Fee.php index 2542f536aa..071869cf81 100644 --- a/CRM/Event/Form/ManageEvent/Fee.php +++ b/CRM/Event/Form/ManageEvent/Fee.php @@ -363,14 +363,6 @@ class CRM_Event_Form_ManageEvent_Fee extends CRM_Event_Form_ManageEvent { ); $this->add('hidden', "discount_price_set[$i]", '', array('id' => "discount_price_set[$i]")); - // add a rule to ensure that discount name is not more than 24 characters to prevent overflow - // in option group name, CRM-7915 - // 24 characters will make the option group name less than 64 characters - $this->addRule("discount_name[$i]", - ts('Discount Name cannot be more than 24 characters'), - 'maxlength', - 24 - ); //discount start date $this->addDate('discount_start_date[' . $i . ']', ts('Discount Start Date'), FALSE, array('formatType' => 'activityDate')); -- 2.25.1