Differential D8090 Diff 18299 src/applications/diffusion/conduit/ConduitAPI_diffusion_branchquery_Method.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/conduit/ConduitAPI_diffusion_branchquery_Method.php
| Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Lines | if (strlen($contains)) { | ||||
| unset($refs[$key]); | unset($refs[$key]); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| return $this->processBranchRefs($request, $refs); | return $this->processBranchRefs($request, $refs); | ||||
| } | } | ||||
| protected function getSVNResult() { | protected function getSVNResult(ConduitAPIRequest $request) { | ||||
epriestley: (Minor, unrelated fix.) | |||||
| // Since SVN doesn't have meaningful branches, just return nothing for all | // Since SVN doesn't have meaningful branches, just return nothing for all | ||||
| // queries. | // queries. | ||||
| return array(); | return array(); | ||||
| } | } | ||||
| private function processBranchRefs(ConduitAPIRequest $request, array $refs) { | private function processBranchRefs(ConduitAPIRequest $request, array $refs) { | ||||
| $drequest = $this->getDiffusionRequest(); | $drequest = $this->getDiffusionRequest(); | ||||
| $repository = $drequest->getRepository(); | $repository = $drequest->getRepository(); | ||||
| Show All 24 Lines | |||||
(Minor, unrelated fix.)