Remove unnecessary call to 'validateData' from pdf generator
authoreileen <emcnaughton@wikimedia.org>
Sat, 5 Sep 2020 02:40:03 +0000 (14:40 +1200)
committereileen <emcnaughton@wikimedia.org>
Sat, 5 Sep 2020 02:41:12 +0000 (14:41 +1200)
commit4d53a8391ff3c8e38d1c4efe042faf90c1ef410a
treecaf88ec189996f09b1bb4cf5dafd5a0e5df5e63e
parentdd77917bd932abedf8a8fbcb60ba75b8e199face
Remove unnecessary call to 'validateData' from pdf generator

the call to validateData fills the objects array - but the only object being used is 'contribution'
so there is an easier way to load it....

The UI way to pass through this code is to send a pdf receipt from contribution search

          'title' => ts('Receipts - print or email'),
CRM/Contribute/Form/Task/PDF.php