Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15312071
D17512.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D17512.id.diff
View Options
diff --git a/src/applications/differential/editor/DifferentialTransactionEditor.php b/src/applications/differential/editor/DifferentialTransactionEditor.php
--- a/src/applications/differential/editor/DifferentialTransactionEditor.php
+++ b/src/applications/differential/editor/DifferentialTransactionEditor.php
@@ -1687,22 +1687,21 @@
$value = array();
foreach ($phids as $phid) {
- $value[$phid] = array(
- 'data' => array(
- 'status' => $new_status,
- ),
- );
+ if ($is_blocking) {
+ $value[] = 'blocking('.$phid.')';
+ } else {
+ $value[] = $phid;
+ }
}
- $edgetype_reviewer = DifferentialRevisionHasReviewerEdgeType::EDGECONST;
-
$owners_phid = id(new PhabricatorOwnersApplication())
->getPHID();
+ $reviewers_type = DifferentialRevisionReviewersTransaction::TRANSACTIONTYPE;
+
return $object->getApplicationTransactionTemplate()
->setAuthorPHID($owners_phid)
- ->setTransactionType(PhabricatorTransactions::TYPE_EDGE)
- ->setMetadataValue('edge:type', $edgetype_reviewer)
+ ->setTransactionType($reviewers_type)
->setNewValue(
array(
'+' => $value,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 7, 1:39 PM (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7332761
Default Alt Text
D17512.id.diff (1 KB)
Attached To
Mode
D17512: Apply Owners reviewers using ModularTransactions
Attached
Detach File
Event Timeline
Log In to Comment