Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ref] Copy emailcommon function back to email trait #21251

Merged
merged 1 commit into from
Aug 25, 2021

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

[Ref] Copy emailcommon function back to email trait

Before

Most email functionality has been moved to the email trait but not preProcessFromAddress - the guts of this function is only used by one of the other of the functions that calls is with the tricky logic already extracted to CRM_Core_BAO_Email::getEmailSignatureDefaults so we aren't gaining from having it on the old class

After

A copy is on the emailTrait, very minimal cleanup of it so far for ease of review

Technical Details

This is part of ending the email common trait. It is currently 'shared'
with a couple of other places - but most of the functionality is
not that shared & could be easily cleaned up when separated out.

I want to create a trait for PdfTrait like the email trait so
getting the email trait better separated for that

Comments

This is part of ending the email common trait. It is currently 'shared'
with a couple of other places - but most of the functionality is
not that shared & could be easily cleaned up when separated out.

I want to create a trait for PdfTrait like the email trait so
getting the email trait better separated for that
@civibot
Copy link

civibot bot commented Aug 25, 2021

(Standard links)

@civibot civibot bot added the master label Aug 25, 2021
* Store only "cc" contact ids.
* @var array
*/
public $_ccContactIds = [];
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unused (that's not how we roll now & would just be an enotice if there was an issue)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

(afterwards)

@demeritcowboy
Copy link
Contributor

I don't really understand the "before" paragraph but this seems ok.

@demeritcowboy demeritcowboy merged commit a203fc1 into civicrm:master Aug 25, 2021
@eileenmcnaughton eileenmcnaughton deleted the email branch August 25, 2021 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants