[REF] Minor code clean up
authoreileen <emcnaughton@wikimedia.org>
Mon, 27 Jul 2020 03:55:44 +0000 (15:55 +1200)
committereileen <emcnaughton@wikimedia.org>
Mon, 27 Jul 2020 03:55:44 +0000 (15:55 +1200)
commit96f8e7f680e66ed56885a70311eda506a27bb55a
treebf1f07f04d06b7d42daddd36850028b8323e83d8
parent9170f16e6dc53344a00d0e35af7a7088c82eb0ac
[REF] Minor code clean up

This just consolidates a little of the code used to determin if an email receipt should be sent.
It's clear that there is more code above that could be pulled into this & combined
with the isEmailReceipt function but I wanted to just offer up a small reviewable change unless
there is reviewer enthusiasm for more
CRM/Contribute/BAO/Contribution.php