[REF] Start transitioning EmailCommon class to a trait
authoreileen <emcnaughton@wikimedia.org>
Tue, 31 Mar 2020 21:08:20 +0000 (10:08 +1300)
committereileen <emcnaughton@wikimedia.org>
Wed, 1 Apr 2020 01:30:23 +0000 (14:30 +1300)
commit8a432af6a3c23115603cdcd65931950b514ccd01
tree6483f02f10ee00352ddb6725355791b82a9c0ade
parent8742ba9fe2a8983b24c1093c089686b5a4c51fff
[REF] Start transitioning EmailCommon class to a trait

This is a really awful class - I've added a trait &  moved the calls from the various forms to that trait
so the code  on EmailCommon for buildForm is now only called once. I will follow up with more the same
CRM/Activity/Form/Task/Email.php
CRM/Contact/Form/Task/Email.php
CRM/Contact/Form/Task/EmailTrait.php [new file with mode: 0644]
CRM/Contribute/Form/Task/Email.php
CRM/Event/Form/Task/Email.php
CRM/Member/Form/Task/Email.php