CRM_Tag_Form_Tag - cleanup
authorColeman Watts <coleman@civicrm.org>
Thu, 1 May 2014 02:19:27 +0000 (19:19 -0700)
committerColeman Watts <coleman@civicrm.org>
Thu, 1 May 2014 02:19:27 +0000 (19:19 -0700)
CRM/Tag/Form/Tag.php

index 2b2a97ae63d28b0bafcbcb6bf62ccbac238fe63b..afb3b784b9186d53c99cd8249fc49e4d7c7bca8a 100644 (file)
@@ -110,24 +110,6 @@ class CRM_Tag_Form_Tag extends CRM_Core_Form {
     //build tag widget
     $parentNames = CRM_Core_BAO_Tag::getTagSet('civicrm_contact');
     CRM_Core_Form_Tag::buildQuickForm($this, $parentNames, $this->_entityTable, $this->_entityID);
-
-    if ($this->_action & CRM_Core_Action::BROWSE) {
-      //$this->freeze();
-    }
-    else {
-      $this->addButtons(array(
-          array(
-            'type' => 'next',
-            'name' => ts('Update Tags'),
-            'isDefault' => TRUE,
-          ),
-          array(
-            'type' => 'cancel',
-            'name' => ts('Cancel'),
-          ),
-        )
-      );
-    }
   }
 
   /**