Merge pull request #4817 from williamtheaker/patch-2
[civicrm-core.git] / CRM / Event / Form / SearchEvent.php
index 488067ed2e878a8bd820a1d30a8c8a2d7e6dca51..3e3087e0ec15fd1b1f6e5a2d94e048e4ec81a610 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -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 {
     }
   }
 }
-