Move make-sure-single-set out of shared function
authorEileen McNaughton <emcnaughton@wikimedia.org>
Sun, 8 Aug 2021 05:23:39 +0000 (17:23 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Sun, 8 Aug 2021 05:23:39 +0000 (17:23 +1200)
commit9bef4ca533c930368e85b60778b74a3d004779d6
tree2a956a498fa85f38ecd80b5de3f389ed314a2cd4
parent248f0a2405072b0b35219fb370a50dfb0d7bf9c2
Move make-sure-single-set out of shared function

3 places in the code call this - in 2 _single is declared on the class as false
& hence don't need this - ergo it is only being done for the one remaining place
so it's not shared it's just a helper for that code & we should return it
CRM/Contact/Form/Task/EmailCommon.php
CRM/Contact/Form/Task/EmailTrait.php
CRM/Contact/Form/Task/PDFLetterCommon.php