Refactor e-mail information saving into a single location

Review Request #8897 — Created April 12, 2017 and submitted — Latest diff uploaded

Information

Review Board
release-3.0.x

Reviewers

Each mail_{foo} function was saving review request and review
information identically in each function. It has now been refactored
into a single function that also ensures that only the relevant fields
are updated.

Ran unit tests.

Diff Revision 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

orig
1
2
reviewboard/notifications/email/callbacks.py
Loading...