From f687b5a4eed2b67411a873c3346487bd55994979 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 7 Apr 2023 10:13:59 -0400 Subject: [PATCH] Remove old deprecated class aliases --- CRM/ACL/BAO/EntityRole.php | 23 ------------------- CRM/Dedupe/BAO/Exception.php | 21 ----------------- CRM/Dedupe/BAO/Rule.php | 22 ------------------ CRM/Dedupe/BAO/RuleGroup.php | 22 ------------------ CRM/Mailing/BAO/Component.php | 10 -------- .../src/Event/CheckSendableEvent.php | 4 ++-- 6 files changed, 2 insertions(+), 100 deletions(-) delete mode 100644 CRM/ACL/BAO/EntityRole.php delete mode 100644 CRM/Dedupe/BAO/Exception.php delete mode 100644 CRM/Dedupe/BAO/Rule.php delete mode 100644 CRM/Dedupe/BAO/RuleGroup.php delete mode 100644 CRM/Mailing/BAO/Component.php diff --git a/CRM/ACL/BAO/EntityRole.php b/CRM/ACL/BAO/EntityRole.php deleted file mode 100644 index 3bacbf7639..0000000000 --- a/CRM/ACL/BAO/EntityRole.php +++ /dev/null @@ -1,23 +0,0 @@ -. - */ -class CRM_Dedupe_BAO_Rule extends CRM_Dedupe_BAO_DedupeRule {} diff --git a/CRM/Dedupe/BAO/RuleGroup.php b/CRM/Dedupe/BAO/RuleGroup.php deleted file mode 100644 index 1b70dcbffe..0000000000 --- a/CRM/Dedupe/BAO/RuleGroup.php +++ /dev/null @@ -1,22 +0,0 @@ -. - */ -class CRM_Dedupe_BAO_RuleGroup extends CRM_Dedupe_BAO_DedupeRuleGroup {} diff --git a/CRM/Mailing/BAO/Component.php b/CRM/Mailing/BAO/Component.php deleted file mode 100644 index 5eee008b7b..0000000000 --- a/CRM/Mailing/BAO/Component.php +++ /dev/null @@ -1,10 +0,0 @@ -getMailing(); - $header = $mailing->header_id && $mailing->header_id != 'null' ? \CRM_Mailing_BAO_Component::findById($mailing->header_id) : NULL; - $footer = $mailing->footer_id && $mailing->footer_id != 'null' ? \CRM_Mailing_BAO_Component::findById($mailing->footer_id) : NULL; + $header = $mailing->header_id && $mailing->header_id != 'null' ? \CRM_Mailing_BAO_MailingComponent::findById($mailing->header_id) : NULL; + $footer = $mailing->footer_id && $mailing->footer_id != 'null' ? \CRM_Mailing_BAO_MailingComponent::findById($mailing->footer_id) : NULL; if (empty($mailing->{$field})) { return NULL; } -- 2.25.1