Merge pull request #1984 from dlobo/CRM-13621
[civicrm-core.git] / api / v3 / UFJoin.php
index e76ed4c1d747f76fa74b13c2188b02a07acdb4c3..3aae31274a83a9de3d8a1124a582b3094bbada9a 100644 (file)
@@ -1,9 +1,8 @@
 <?php
-// $Id$
 
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.3                                                |
+ | CiviCRM version 4.4                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2013                                |
  +--------------------------------------------------------------------+
  *
  */
 
-/**
- * Files required for this package
- */
-require_once 'CRM/Core/BAO/UFJoin.php';
-
 /**
  * takes an associative array and creates a uf join in the database
  *
@@ -60,11 +54,12 @@ function civicrm_api3_uf_join_create($params) {
   _civicrm_api3_object_to_array($ufJoin, $ufJoinArray[]);
   return civicrm_api3_create_success($ufJoinArray, $params, 'uf_join', 'create');
 }
-/*
+
+/**
  * Adjust Metadata for Create action
- * 
+ *
  * @param array $params array or parameters determined by getfields
- * @todo - suspect module, weight don't need to be required - need to test 
+ * @todo - suspect module, weight don't need to be required - need to test
  */
 function _civicrm_api3_uf_join_create_spec(&$params) {
   $params['module']['api.required'] = 1;