CRM-16119: Fix incorrect usages of ts().
[civicrm-core.git] / CRM / Contact / Form / ProfileContact.php
index 2dd022f0b2ce94949271a836ac82e77fa69801ac..9aaf558b931f264c031c48e2d8e367fd21a4edbd 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -37,7 +37,7 @@ class CRM_Contact_Form_ProfileContact {
   protected $_mode;
 
   /**
-   * Set variables up before form is built
+   * Set variables up before form is built.
    *
    * @param CRM_Core_Form $form
    *
@@ -78,7 +78,6 @@ class CRM_Contact_Form_ProfileContact {
    *
    * @param CRM_Core_Form $form
    *
-   * @static
    */
   public static function buildQuickForm(&$form) {
     $ufGroup = new CRM_Core_DAO_UFGroup();
@@ -89,11 +88,11 @@ class CRM_Contact_Form_ProfileContact {
 
     $prefix = 'honor';
     $honoreeProfileFields = CRM_Core_BAO_UFGroup::getFields($form->_honoreeProfileId, FALSE, NULL,
-        NULL, NULL,
-        FALSE, NULL,
-        TRUE, NULL,
-        CRM_Core_Permission::CREATE
-      );
+      NULL, NULL,
+      FALSE, NULL,
+      TRUE, NULL,
+      CRM_Core_Permission::CREATE
+    );
     $form->addElement('hidden', 'honoree_profile_id', $form->_honoreeProfileId);
     $form->assign('honoreeProfileFields', $honoreeProfileFields);
 
@@ -155,4 +154,5 @@ class CRM_Contact_Form_ProfileContact {
       }
     }
   }
+
 }