stringbeans/homelesspartners — pull request #28 by jamiechong (2013-11-30 01:52:35+00:00)
Title: Clean up actionConfirmPledges(). reformat Confirmation Email

Moved all the Email formatting logic into a new function called sendConfirmationEmail(). Pass an array of all the $data needed to format the email. The actual actionConfirmPledges() action now just groups the data into a hierarchy of: Shelters->Stories->Gifts, creates the Pledge and redirects.