From 402d501ec5b2395bc3f0bb04981962e22005811f Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 20 May 2021 17:48:08 -0400 Subject: [PATCH] Deprecate function CRM_Core_BAO_CustomField::bulkSave --- CRM/Core/BAO/CustomField.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Core/BAO/CustomField.php b/CRM/Core/BAO/CustomField.php index dc0a3f5cc8..fa81949a2e 100644 --- a/CRM/Core/BAO/CustomField.php +++ b/CRM/Core/BAO/CustomField.php @@ -121,6 +121,7 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField { * @throws \CiviCRM_API3_Exception */ public static function bulkSave($bulkParams, $defaults = []) { + CRM_Core_Error::deprecatedFunctionWarning(__CLASS__ . '::writeRecords'); foreach ($bulkParams as $index => $fieldParams) { $bulkParams[$index] = array_merge($defaults, $fieldParams); } -- 2.25.1