stable

Clone or download

Read-only

Refactoring: DRY pull request access check in PullRequestResource

This is part of story #10499: Have a labels widget on project dashboards Try to not duplicate too much the way to check access to a pull request by reusing the dedicated object introduced in commit d2cb40c8a7afe89fba92255b36d40fe5658730ee Change-Id: I29a148787295085c3104cbdd22b775febe3c1243

Modified Files

Name
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestsResource.php +27 −14 Go to diff View file