Merge pull request #4955 from atif-shaikh/master-cleanup
[civicrm-core.git] / CRM / Mailing / Form / Browse.php
index 361a2e85881499c8d8b947d75a97ee532ab2b260..43e33a2e287e5790e660e1c0db56fbafcc70c6b4 100644 (file)
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | CiviCRM version 4.6                                                |
@@ -40,7 +39,6 @@
  * @param
  *
  * @return void
- * @access public
  */
 class CRM_Mailing_Form_Browse extends CRM_Core_Form {
 
@@ -49,10 +47,8 @@ class CRM_Mailing_Form_Browse extends CRM_Core_Form {
    * the contact and calls the appropriate type of page to view.
    *
    * @return void
-   * @access public
-   *
    */
-  function preProcess() {
+  public function preProcess() {
     $this->_mailingId = CRM_Utils_Request::retrieve('mid', 'Positive', $this);
     $this->_action = CRM_Utils_Request::retrieve('action', 'String', $this);
 
@@ -61,9 +57,9 @@ class CRM_Mailing_Form_Browse extends CRM_Core_Form {
       CRM_Core_Error::fatal(ts('You do not have permission to access this page.'));
     }
 
-    $mailing     = new CRM_Mailing_BAO_Mailing();
+    $mailing = new CRM_Mailing_BAO_Mailing();
     $mailing->id = $this->_mailingId;
-    $subject     = '';
+    $subject = '';
     if ($mailing->find(TRUE)) {
       $subject = $mailing->subject;
     }
@@ -74,7 +70,6 @@ class CRM_Mailing_Form_Browse extends CRM_Core_Form {
    * Build the form object
    *
    * @return void
-   * @access public
    */
 
   public function buildQuickForm() {
@@ -93,7 +88,6 @@ class CRM_Mailing_Form_Browse extends CRM_Core_Form {
   }
 
   /**
-   * @access public
    *
    * @return void
    */
@@ -110,4 +104,3 @@ class CRM_Mailing_Form_Browse extends CRM_Core_Form {
     }
   }
 }
-