Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F73151
D7360.diff
All Users
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
D7360.diff
View Options
diff --git a/src/applications/differential/editor/DifferentialRevisionEditor.php b/src/applications/differential/editor/DifferentialRevisionEditor.php
--- a/src/applications/differential/editor/DifferentialRevisionEditor.php
+++ b/src/applications/differential/editor/DifferentialRevisionEditor.php
@@ -618,15 +618,6 @@
$reviewers = $revision->getReviewers();
- // This is here until the new way proves stable enough
- // See https://secure.phabricator.com/T1279
- self::alterReviewers(
- $revision,
- $reviewers,
- $remove_phids,
- $add_phids,
- $actor->getPHID());
-
$editor = id(new PhabricatorEdgeEditor())
->setActor($actor);
@@ -679,18 +670,6 @@
$reviewer_phid,
$status) {
- $reviewers = $revision->getReviewers();
- if (!in_array($reviewer_phid, $reviewers)) {
- // This is here until the new way proves stable enough
- // See https://secure.phabricator.com/T1279
- self::alterReviewers(
- $revision,
- $reviewers,
- array(),
- array($reviewer_phid),
- $actor->getPHID());
- }
-
$options = array(
'data' => array(
'status' => $status
@@ -712,25 +691,6 @@
->save();
}
- /**
- * @deprecated
- */
- private static function alterReviewers(
- DifferentialRevision $revision,
- array $stable_phids,
- array $rem_phids,
- array $add_phids,
- $reason_phid) {
-
- return self::alterRelationships(
- $revision,
- $stable_phids,
- $rem_phids,
- $add_phids,
- $reason_phid,
- DifferentialRevision::RELATION_REVIEWER);
- }
-
private static function alterRelationships(
DifferentialRevision $revision,
array $stable_phids,
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/6f/xg/boopfnhxrbe5usk6
Default Alt Text
D7360.diff (1 KB)
Attached To
Mode
D7360: Stop writes to the old Relationship table
Attached
Detach File
Event Timeline
Log In to Comment