stable

Clone or download

Read-only

Refactoring: extract getReadable/getWriteablePullRequest

This is part of story #10498: Add labels on pull requests ...so that we don't repeat ourselves and don't introduce different way of checking if a pull request is updatable for example (see patch/patchLabels). Otherwise, no functional changes. Change-Id: I22ffe268453ee2bf26fb1a75c81d218a0d76448e

Modified Files

Name
M include/PullRequest/REST/v1/PullRequestsResource.php +42 −39 Go to diff View file
M tests/rest/DatabaseInitialization.class.php +3 −3 Go to diff View file