dev/core#1460 move post hook to avoid errors with custom fields created in the hook
authoreileen <emcnaughton@wikimedia.org>
Mon, 9 Dec 2019 20:54:15 +0000 (09:54 +1300)
committereileen <emcnaughton@wikimedia.org>
Mon, 9 Dec 2019 21:09:37 +0000 (10:09 +1300)
commit80e74f7b383ce7a545201765f5507ec2dab6655d
treeabcc009128c1727046986311ef4786c93cdf5d71
parenta1552cd0f1967ed3c596ad465aba04450b71987c
dev/core#1460 move post hook to avoid errors with custom fields created in the hook

Per dev/core#1460 a fatal error can occur if custom data is created in the post hook. In addition I note it makes sense to
include custom data before the rollback
CRM/Contribute/BAO/Contribution.php