Update Copywrite year to be 2019
[civicrm-core.git] / api / v3 / EntityTag.php
index 6b0bd7033e1db81c51ddbaae92c5e99429dcb938..c363275e9c61c93ccba59598f0ac85166e0122cf 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 5                                                  |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2017                                |
+ | Copyright CiviCRM LLC (c) 2004-2019                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -168,7 +168,6 @@ function _civicrm_api3_entity_tag_common($params, $op = 'add') {
 function civicrm_api3_entity_tag_replace($params) {
   $transaction = new CRM_Core_Transaction();
   try {
-    civicrm_api3_verify_one_mandatory($params, NULL, ['values', 'tag_id']);
 
     $baseParams = _civicrm_api3_generic_replace_base_params($params);
     unset($baseParams['tag_id']);