Merge pull request #5035 from TeNNoX/master
[civicrm-core.git] / CRM / Mailing / Page / Preview.php
index 3403c2a1c8f40ef50ed502fcf1991d896f2122b4..581b36361ff0d9037e8abd1cdcf05ecea550f1cc 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -43,7 +43,7 @@ class CRM_Mailing_Page_Preview extends CRM_Core_Page {
    *
    * @return void
    */
-  function run() {
+  public function run() {
 
     $session = CRM_Core_Session::singleton();
 
@@ -101,5 +101,5 @@ class CRM_Mailing_Page_Preview extends CRM_Core_Page {
     }
     CRM_Utils_System::civiExit();
   }
-}
 
+}