mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-01 19:22:41 +01:00
Properly exclude others' revisions from automatic "Depends On"
Summary: See D18651. This was missing an `unset()`. Test Plan: Looked carefully. Reviewers: amckinley Reviewed By: amckinley Differential Revision: https://secure.phabricator.com/D18766
This commit is contained in:
parent
f1ba27ffed
commit
057bdb1c71
1 changed files with 1 additions and 0 deletions
|
@ -2961,6 +2961,7 @@ EOTEXT
|
||||||
|
|
||||||
// Don't automatically depend on revisions authored by other users.
|
// Don't automatically depend on revisions authored by other users.
|
||||||
if ($revision_ref->getAuthorPHID() != $viewer_phid) {
|
if ($revision_ref->getAuthorPHID() != $viewer_phid) {
|
||||||
|
unset($revision_refs[$key]);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue