Simplify usage of getting domain from email
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 26 Oct 2021 19:13:22 +0000 (08:13 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 26 Oct 2021 19:13:22 +0000 (08:13 +1300)
commitbd6ce89babe4407a370da0179a77d26b262fab79
tree2154c9c164614cef1d4e5a3f63a1a33958c41660
parent19c688a120d40dab77e0a75f75a2c9082565c7cd
Simplify usage of getting domain from email

This adds a function that 'just gets the string' - rather than overloading
another function and (worse) getting the string back as an array that needs to be
'currented'. It also switches
the participant function to use it - as we will soon not be passing
domainValues into this function
CRM/Contact/Form/Task/EmailCommon.php
CRM/Contact/Form/Task/EmailTrait.php
CRM/Core/BAO/Domain.php
CRM/Event/BAO/Participant.php