Page MenuHomePhabricator

D8426.id20004.diff
No OneTemporary

D8426.id20004.diff

diff --git a/src/applications/differential/lipsum/PhabricatorDifferentialRevisionTestDataGenerator.php b/src/applications/differential/lipsum/PhabricatorDifferentialRevisionTestDataGenerator.php
--- a/src/applications/differential/lipsum/PhabricatorDifferentialRevisionTestDataGenerator.php
+++ b/src/applications/differential/lipsum/PhabricatorDifferentialRevisionTestDataGenerator.php
@@ -19,18 +19,10 @@
$editor->addDiff($diff, $this->generateDescription());
$editor->setAuxiliaryFields($aux_fields);
$editor->save();
- // Add Reviewers
- $editor2 = new DifferentialCommentEditor($revision,
- DifferentialAction::ACTION_ADDREVIEWERS);
- $editor2->setActor($author);
- $editor2->setAddedReviewers($this->getCCPHIDs());
- $editor2->save();
- // Add CCs
- $editor3 = new DifferentialCommentEditor($revision,
- DifferentialAction::ACTION_ADDCCS);
- $editor3->setActor($author);
- $editor3->setAddedCCs($this->getCCPHIDs());
- $editor3->save();
+
+ // TODO: After T2222, it would be nice to revisit this and expand the
+ // functionality.
+
return $revision->save();
}

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 28, 12:29 AM (17 h, 47 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6797466
Default Alt Text
D8426.id20004.diff (1 KB)

Event Timeline