Skip to content

Commit

Permalink
Merge pull request #26025 from colemanw/removeDeprecatedClasses
Browse files Browse the repository at this point in the history
Remove old deprecated class aliases
  • Loading branch information
yashodha committed Apr 10, 2023
2 parents 24cff36 + f687b5a commit 4ec78c8
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 100 deletions.
23 changes: 0 additions & 23 deletions CRM/ACL/BAO/EntityRole.php

This file was deleted.

21 changes: 0 additions & 21 deletions CRM/Dedupe/BAO/Exception.php

This file was deleted.

22 changes: 0 additions & 22 deletions CRM/Dedupe/BAO/Rule.php

This file was deleted.

22 changes: 0 additions & 22 deletions CRM/Dedupe/BAO/RuleGroup.php

This file was deleted.

10 changes: 0 additions & 10 deletions CRM/Mailing/BAO/Component.php

This file was deleted.

4 changes: 2 additions & 2 deletions ext/flexmailer/src/Event/CheckSendableEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ public function getFullBody($field) {
throw new \RuntimeException("getFullBody() only supports body_text and body_html");
}
$mailing = $this->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;
}
Expand Down

0 comments on commit 4ec78c8

Please sign in to comment.