Merge remote-tracking branch 'upstream/4.5' into 4.5-master-2015-03-03-23-44-14
[civicrm-core.git] / api / v3 / UFJoin.php
index 1623d0c699f6d0b9ffe0ca1ba7ec0179286bfbb2..714a2c14ac544bc37cb027e3740a97929ed18b6c 100644 (file)
  */
 
 /**
- * File for the CiviCRM APIv3 user framework join functions
+ * This api exposes CiviCRM user framework join.
  *
  * @package CiviCRM_APIv3
- * @subpackage API_UF
- *
- * @copyright CiviCRM LLC (c) 2004-2014
- * @version $Id: UFJoin.php 30171 2010-10-14 09:11:27Z mover $
  */
 
 /**
@@ -48,14 +44,14 @@ function civicrm_api3_uf_join_create($params) {
 
   $ufJoin = CRM_Core_BAO_UFJoin::create($params);
   _civicrm_api3_object_to_array($ufJoin, $ufJoinArray[]);
-  return civicrm_api3_create_success($ufJoinArray, $params, 'uf_join', 'create');
+  return civicrm_api3_create_success($ufJoinArray, $params, 'UFJoin', 'create');
 }
 
 /**
  * Adjust Metadata for Create action.
  *
  * @param array $params
- *   Array or parameters determined by getfields.
+ *   Array of parameters determined by getfields.
  *
  * @todo - suspect module, weight don't need to be required - need to test
  */