projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b6d4ea
)
Deprecate function CRM_Core_BAO_CustomField::bulkSave
author
Coleman Watts
<coleman@civicrm.org>
Thu, 20 May 2021 21:48:08 +0000
(17:48 -0400)
committer
Coleman Watts
<coleman@civicrm.org>
Thu, 20 May 2021 21:48:08 +0000
(17:48 -0400)
CRM/Core/BAO/CustomField.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/BAO/CustomField.php
b/CRM/Core/BAO/CustomField.php
index dc0a3f5cc881090657f4a65ab65e40b81b43ab6e..fa81949a2eb0774a1c9ba10aa808732c57dd82b3 100644
(file)
--- 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);
}