Split mailing label formatting out from main format
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 10 Jan 2022 22:40:51 +0000 (11:40 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 17 Jan 2022 02:12:32 +0000 (15:12 +1300)
commit68c1b1f5de66300f649cae18a3ccb2d324e35da2
tree6faf7129cae87639e65c08ad51bb29e8d6e5badb
parent19a9392f3429c9cc96b39a0ea1ef6965012e83d6
Split mailing label formatting out from main format

Splitting these 2 functions out allows cleanup & eventual decommissioning of the mailing label
function.

There are siginificant usage differences depending on context so this will permit
cleanup - I did a universe search & these are the only 2 times it is called with
mailing = TRUE
CRM/Contact/Form/Task/Label.php
CRM/Member/Form/Task/Label.php
CRM/Utils/Address.php
tests/phpunit/CRM/Utils/AddressTest.php