diff --git a/src/applications/herald/controller/delete/HeraldDeleteController.php b/src/applications/herald/controller/delete/HeraldDeleteController.php index 4ce1702af3..1e680894fe 100644 --- a/src/applications/herald/controller/delete/HeraldDeleteController.php +++ b/src/applications/herald/controller/delete/HeraldDeleteController.php @@ -49,8 +49,10 @@ final class HeraldDeleteController extends HeraldController { } if ($request->isFormPost()) { - $rule->logEdit($user->getPHID(), 'delete'); - $rule->delete(); + $rule->openTransaction(); + $rule->logEdit($user->getPHID(), 'delete'); + $rule->delete(); + $rule->saveTransaction(); return id(new AphrontReloadResponse())->setURI('/herald/'); }