Merge pull request #4817 from williamtheaker/patch-2
[civicrm-core.git] / CRM / Event / Form / SearchEvent.php
index 986d39011f0f9d9d239fe1a43aed8d508dd50e7e..3e3087e0ec15fd1b1f6e5a2d94e048e4ec81a610 100644 (file)
@@ -37,7 +37,7 @@ class CRM_Event_Form_SearchEvent extends CRM_Core_Form {
   /**
    * @return array
    */
-  function setDefaultValues() {
+  public function setDefaultValues() {
     $defaults = array();
     $defaults['eventsByDates'] = 0;
 
@@ -53,7 +53,6 @@ class CRM_Event_Form_SearchEvent extends CRM_Core_Form {
   /**
    * Build the form object
    *
-   * @access public
    *
    * @return void
    */
@@ -86,7 +85,7 @@ class CRM_Event_Form_SearchEvent extends CRM_Core_Form {
       ));
   }
 
-  function postProcess() {
+  public function postProcess() {
     $params = $this->controller->exportValues($this->_name);
     $parent = $this->controller->getParent();
     $parent->set('searchResult', 1);
@@ -111,4 +110,3 @@ class CRM_Event_Form_SearchEvent extends CRM_Core_Form {
     }
   }
 }
-