Issue #2848820 by jeetendrakumar, andypost, mondrake, vidhatanand: Replace all calls to db_transaction, which is deprecated