Run /abandon and /restore in a single database operation
On the backend behind gerrit-review each database call is expensive,
unless we do something crazy like wrap a block of database operations
into a single mock transaction with the beginTransaction/commit idiom.
Simplify both of these tasks by getting rid of the ugly helper
function from ChangeUtil and explicitly perform all database
operations before sending email to interested parties.
Change-Id: I63cbbc7ac47d20f202b042740abb204e040e7c65
4 files changed