Merge pull request #5051 from eileenmcnaughton/comments
[civicrm-core.git] / CRM / Mailing / Page / Event.php
index 746778e660143dfc9b638bb6685cb9aa662eca83..526f8b8771361f877a8ab415f194f38872892338 100644 (file)
@@ -1,8 +1,7 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -24,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -45,7 +44,6 @@ class CRM_Mailing_Page_Event extends CRM_Core_Page {
    * All the fields that are listings related
    *
    * @var array
-   * @access protected
    */
   protected $_fields;
 
@@ -54,7 +52,7 @@ class CRM_Mailing_Page_Event extends CRM_Core_Page {
    *
    * @return void
    */
-  function run() {
+  public function run() {
     $selector = &new CRM_Mailing_Selector_Event(
       CRM_Utils_Request::retrieve('event', 'String', $this),
       CRM_Utils_Request::retrieve('distinct', 'Boolean', $this),
@@ -111,5 +109,5 @@ class CRM_Mailing_Page_Event extends CRM_Core_Page {
 
     return parent::run();
   }
-}
 
+}