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:
c0ab0a7
)
Remove deprecated code lines
author
eileen
<emcnaughton@wikimedia.org>
Wed, 16 Sep 2020 10:31:05 +0000
(22:31 +1200)
committer
eileen
<emcnaughton@wikimedia.org>
Wed, 16 Sep 2020 10:31:05 +0000
(22:31 +1200)
CRM/Core/BAO/Email.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/BAO/Email.php
b/CRM/Core/BAO/Email.php
index 0dd1bca05a49d314cd910b8415f2e82aa4cba4ba..4de9573d63315ffc9e7ef7a5491793498363895a 100644
(file)
--- a/
CRM/Core/BAO/Email.php
+++ b/
CRM/Core/BAO/Email.php
@@
-54,10
+54,6
@@
class CRM_Core_BAO_Email extends CRM_Core_DAO_Email {
$hook = empty($params['id']) ? 'create' : 'edit';
CRM_Utils_Hook::pre($hook, 'Email', CRM_Utils_Array::value('id', $params), $params);
- if (isset($params['is_bulkmail']) && $params['is_bulkmail'] === 'null') {
- CRM_Core_Error::deprecatedFunctionWarning('It is not valid to set bulkmail to null, it is boolean');
- $params['bulkmail'] = 0;
- }
$email = new CRM_Core_DAO_Email();
$email->copyValues($params);
if (!empty($email->email)) {