// call the parent method to populate $this->_taskList for the custom search
parent::buildTaskList();
- // @todo: When CRM_Contact_Form_Search_Interface is updated in 4.6, remove this check
- if (is_callable(array($this->_customClass, 'buildTaskList'))) {
- return $this->_customClass->buildTaskList($this);
- } else {
- return $this->_taskList;
+ return $this->_customClass->buildTaskList($this);
}
}
* @param CRM_Core_Form_Search $form
* @return array
*/
- // @todo: This interface change should not go into a minor version; save for 4.6
- // public function buildTaskList(CRM_Core_Form_Search $form);
+ public function buildTaskList(CRM_Core_Form_Search $form);
/**
* Builds the quickform for this search