1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-09-20 00:49:11 +02: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:
epriestley 2017-11-07 05:18:27 -08:00
parent f1ba27ffed
commit 057bdb1c71

View file

@ -2961,6 +2961,7 @@ EOTEXT
// Don't automatically depend on revisions authored by other users.
if ($revision_ref->getAuthorPHID() != $viewer_phid) {
unset($revision_refs[$key]);
continue;
}
}