remove obsolete code
authorkurund <kurund@civicrm.org>
Wed, 7 Aug 2013 17:12:51 +0000 (22:42 +0530)
committerkurund <kurund@civicrm.org>
Wed, 7 Aug 2013 17:12:51 +0000 (22:42 +0530)
CRM/Event/Form/ManageEvent/Fee.php

index 2542f536aa3791a737244618d2875e5a4d0f4c9b..071869cf81877d9a58f642fd20c17dc21c058ce1 100644 (file)
@@ -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'));