Merge pull request #3679 from yashodha/CRM-14951
[civicrm-core.git] / api / v3 / WordReplacement.php
index 7a1e2877c98c1b0affb66dab5630f05ebd8f7c9f..a504f15cb1936c75a8b682a498dd34a3411a0adf 100644 (file)
@@ -2,9 +2,9 @@
 
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -32,7 +32,7 @@
  * @package CiviCRM_APIv3
  * @subpackage API_WordReplacement
  *
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * @version $Id: Domain.php 30171 2010-10-14 09:11:27Z mover $
  *
  */
@@ -40,7 +40,7 @@
 /**
  * Get CiviCRM Word Replacement details
  * {@getfields word_replacement_create}
- * 
+ *
  */
 function civicrm_api3_word_replacement_get($params) {
   $bao = new CRM_Core_BAO_WordReplacement();
@@ -57,7 +57,7 @@ function civicrm_api3_word_replacement_get($params) {
  * @param array $params
  *
  * @return array
- * 
+ *
  * {@getfields word_replacement_create}
  */
 function civicrm_api3_word_replacement_create($params) {
@@ -78,14 +78,13 @@ function _civicrm_api3_word_replacement_create_spec(&$params) {
  * delete an existing word_replacement
  *
  *
- * @param array $params  (reference) array containing id of the word_replacement
- *                       to be deleted
+ * @param array $params array containing id of the word_replacement
+ *  to be deleted
  *
- * @return array  (referance) returns flag true if successfull, error
- *                message otherwise
+ * @return array api result array
  *
  * @access public
  */
 function civicrm_api3_word_replacement_delete($params) {
   return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params);
-}
\ No newline at end of file
+}