1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-24 13:38:19 +01:00

Minor, jumped the gun on review feedback in D2040.

Auditors: btrahan
This commit is contained in:
epriestley 2012-03-30 10:50:38 -07:00
parent 698ec68327
commit 83d6bbeb29

View file

@ -49,8 +49,10 @@ final class HeraldDeleteController extends HeraldController {
} }
if ($request->isFormPost()) { if ($request->isFormPost()) {
$rule->logEdit($user->getPHID(), 'delete'); $rule->openTransaction();
$rule->delete(); $rule->logEdit($user->getPHID(), 'delete');
$rule->delete();
$rule->saveTransaction();
return id(new AphrontReloadResponse())->setURI('/herald/'); return id(new AphrontReloadResponse())->setURI('/herald/');
} }