Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minor, jumped the gun on review feedback in D2040.

Auditors: btrahan
  • Loading branch information...
commit 83d6bbeb29655442dc480a365f308d5089f88794 1 parent 698ec68
@epriestley epriestley authored
View
6 src/applications/herald/controller/delete/HeraldDeleteController.php
@@ -49,8 +49,10 @@ public function processRequest() {
}
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/');
}
Please sign in to comment.
Something went wrong with that request. Please try again.