INFRA-132 - Remove white space after an opening "(" or before a closing ")"
[civicrm-core.git] / CRM / Contact / Page / Inline / CommunicationPreferences.php
index 95cca0bb26df4652ea1939b30d385a88bf5de8ad..f138987e35f12a96eee6f70bb6e0d1afffe06e21 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -45,17 +45,16 @@ class CRM_Contact_Page_Inline_CommunicationPreferences extends CRM_Core_Page {
    * This method is called after the page is created.
    *
    * @return void
-   * @access public
    *
    */
-  function run() {
+  public function run() {
     // get the emails for this contact
     $contactId = CRM_Utils_Request::retrieve('cid', 'Positive', CRM_Core_DAO::$_nullObject, TRUE, NULL, $_REQUEST);
 
     $params = array('id' => $contactId);
 
     $defaults = array();
-    CRM_Contact_BAO_Contact::getValues( $params, $defaults );
+    CRM_Contact_BAO_Contact::getValues($params, $defaults);
     $defaults['privacy_values'] = CRM_Core_SelectValues::privacy();
 
     $communicationStyle = CRM_Core_PseudoConstant::get('CRM_Contact_DAO_Contact', 'communication_style_id');
@@ -79,4 +78,3 @@ class CRM_Contact_Page_Inline_CommunicationPreferences extends CRM_Core_Page {
     parent::run();
   }
 }
-