Page MenuHomePhabricator

D16180.id.diff
No OneTemporary

D16180.id.diff

diff --git a/src/applications/diffusion/herald/DiffusionPreCommitContentRevisionAcceptedHeraldField.php b/src/applications/diffusion/herald/DiffusionPreCommitContentRevisionAcceptedHeraldField.php
--- a/src/applications/diffusion/herald/DiffusionPreCommitContentRevisionAcceptedHeraldField.php
+++ b/src/applications/diffusion/herald/DiffusionPreCommitContentRevisionAcceptedHeraldField.php
@@ -21,7 +21,9 @@
}
$status_accepted = ArcanistDifferentialRevisionStatus::ACCEPTED;
- if ($revision->getStatus() != $status_accepted) {
+ $status_closed = ArcanistDifferentialRevisionStatus::CLOSED;
+ if (($revision->getStatus() != $status_accepted) &&
+ ($revision->getStatus() != $status_closed)) {
return null;
}

File Metadata

Mime Type
text/plain
Expires
Sun, Oct 20, 6:06 AM (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6712304
Default Alt Text
D16180.id.diff (751 B)

Event Timeline