CRM-15856 - Mailing BAO - Only validate tokens when calling through API
authorTim Otten <totten@civicrm.org>
Tue, 10 Feb 2015 12:47:22 +0000 (04:47 -0800)
committerTim Otten <totten@civicrm.org>
Wed, 11 Feb 2015 16:50:53 +0000 (08:50 -0800)
commit00cb6250d344a4de5ecd69c2253785a0767c4b38
treea291903cad8e70a1d309c8e68d9edeaacdcf87ab
parent21b09c134f287d8738c3b6b51cad36170d7891dc
CRM-15856 - Mailing BAO - Only validate tokens when calling through API

The test suite relies on CRM_Mailing_BAO_Spool to log test messages -- which
(surprisingly, bizarrely) puts them in civicrm_mailing; thus, enforcing
required tokens broke lots of test cases that have nothing to do with
CiviMail.
CRM/Mailing/BAO/Mailing.php
api/v3/Mailing.php