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] Move form specific handling back to the relevant form. #16913

Merged
merged 1 commit into from
Mar 27, 2020

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Mar 27, 2020

Overview

Moves code specific to one form out of a shared class

Before

Code specific to CRM_Contact_Form_Task_Email is in the shared CRM_Contact_Form_Task_EmailCommon function

After

Code moved back to own form

Technical Details

The shared function has handling to set ->_single if the class is CRM_Contact_Form_Task_Email -
this seems pretty obviously not functionality that is shared so it should be on the CRM_Contact_Form_Task_Email
class

Comments

The shared function has handling to set ->_single if the class is CRM_Contact_Form_Task_Email -
this seems prety obviously not functionality that is shared so it should be on the CRM_Contact_Form_Task_Email
class
@civibot
Copy link

civibot bot commented Mar 27, 2020

(Standard links)

@civibot civibot bot added the master label Mar 27, 2020
@seamuslee001
Copy link
Contributor

Change looks fine to me test failure unrelated merging

@seamuslee001 seamuslee001 merged commit e735c4f into civicrm:master Mar 27, 2020
@mattwire
Copy link
Contributor

A sensible simplification that will make future maintenance easier @kcristiano when testing 5.25 please pay particular attention to sending emails via the UI in various ways - changes to this code has a habit of breaking things is unexpected/obscure ways.

@eileenmcnaughton eileenmcnaughton deleted the act branch March 28, 2020 01:05
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.

3 participants