mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-09 14:21:02 +01:00
parent
698ec68327
commit
83d6bbeb29
1 changed files with 4 additions and 2 deletions
|
@ -49,8 +49,10 @@ final class HeraldDeleteController extends HeraldController {
|
|||
}
|
||||
|
||||
if ($request->isFormPost()) {
|
||||
$rule->openTransaction();
|
||||
$rule->logEdit($user->getPHID(), 'delete');
|
||||
$rule->delete();
|
||||
$rule->saveTransaction();
|
||||
return id(new AphrontReloadResponse())->setURI('/herald/');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue