X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FForm%2FTask.php;h=cc7df4d31d5f8673e4bd4fb61733395faa3d505c;hb=77f9d243755c24497f3ccb9db886752575b968c3;hp=263a644cba8cf6e2151b74bda96cc8f5c35a938c;hpb=412f2d1627d0a075f872064df40968b7adfcf51f;p=civicrm-core.git diff --git a/CRM/Event/Form/Task.php b/CRM/Event/Form/Task.php index 263a644cba..cc7df4d31d 100644 --- a/CRM/Event/Form/Task.php +++ b/CRM/Event/Form/Task.php @@ -34,31 +34,10 @@ */ /** - * This class generates task actions for CiviEvent - * + * Class for event form task actions. + * FIXME: This needs refactoring to properly inherit from CRM_Core_Form_Task and share more functions. */ -class CRM_Event_Form_Task extends CRM_Core_Form { - - /** - * The task being performed. - * - * @var int - */ - protected $_task; - - /** - * The additional clause that we restrict the search with. - * - * @var string - */ - protected $_componentClause = NULL; - - /** - * The array that holds all the component ids. - * - * @var array - */ - protected $_componentIds; +class CRM_Event_Form_Task extends CRM_Core_Form_Task { /** * The array that holds all the participant ids. @@ -80,9 +59,8 @@ class CRM_Event_Form_Task extends CRM_Core_Form { /** * @param CRM_Core_Form $form - * @param bool $useTable */ - public static function preProcessCommon(&$form, $useTable = FALSE) { + public static function preProcessCommon(&$form) { $form->_participantIds = array(); $values = $form->controller->exportValues($form->get('searchFormName'));