1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 09:12:41 +01:00

Fix a missing setViewer() in differential.getrevision

Summary: DiffQuery now requires this.

Auditors: btrahan
This commit is contained in:
epriestley 2013-09-23 15:22:57 -07:00
parent bf14bb45f1
commit 806ba1e7a1

View file

@ -52,6 +52,7 @@ final class ConduitAPI_differential_getrevision_Method
$reviewer_phids = array_values($revision->getReviewers());
$diffs = id(new DifferentialDiffQuery())
->setViewer($request->getUser())
->withRevisionIDs(array($revision_id))
->needChangesets(true)
->needArcanistProjects(true)