Merge pull request #1387 from deepak-srivastava/logrev
[civicrm-core.git] / api / v3 / UFField.php
index 030bd99c1362c1ecd0e3289ad4133eab19b38cab..86522551e66858d92e1de5af5dc4ffe7f5fa7a6d 100644 (file)
@@ -1,5 +1,4 @@
 <?php
-// $Id$
 
 /*
  +--------------------------------------------------------------------+
@@ -115,7 +114,7 @@ function civicrm_api3_uf_field_create($params) {
 function _civicrm_api3_uf_field_create_spec(&$params) {
   $params['option.autoweight'] = array(
     'title' => "Automatically adjust weights in UFGroup to align with UFField",
-    'type' => CRM_Utils_Type::T_BOOL
+    'type' => CRM_Utils_Type::T_BOOLEAN
   );
 }
 
@@ -161,7 +160,7 @@ function civicrm_api3_uf_field_delete($params) {
 
   return civicrm_api3_create_success($result, $params);
 }
-/* 
+/*
  * field id accepted for backward compat - unset required on id
  */
 function _civicrm_api3_uf_field_delete_spec(&$params) {