Simplify calls to is_email_pdf
authorEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 11 Aug 2021 20:19:22 +0000 (08:19 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 11 Aug 2021 23:48:51 +0000 (11:48 +1200)
commit0fba5cf89d707bc8f305bc9f12a3832c110a11c7
treea2020554b24b4c5288f42585d8b45450f8b8246b
parent0be69b5c0681e8b7b046e851ee75277e897d9022
Simplify calls to is_email_pdf

Per reviewer feedback - we don't need to check more than just the one setting. The
UI (for better or worse) ties the 2 together so under normal operation
they will be set together but we don't need to check that
CRM/Batch/Form/Entry.php
CRM/Contribute/BAO/ContributionPage.php
CRM/Contribute/Form/AdditionalInfo.php
CRM/Event/BAO/Event.php
CRM/Event/Form/Participant.php
CRM/Member/Form/Membership.php
tests/phpunit/CiviTest/CiviUnitTestCase.php