Differential D10585 Diff 25583 src/applications/diffusion/conduit/DiffusionRefsQueryConduitAPIMethod.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/conduit/DiffusionRefsQueryConduitAPIMethod.php
| Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | protected function getGitResult(ConduitAPIRequest $request) { | ||||
| $ref_links = array(); | $ref_links = array(); | ||||
| foreach ($refs as $ref) { | foreach ($refs as $ref) { | ||||
| $ref_links[] = array( | $ref_links[] = array( | ||||
| 'ref' => $ref, | 'ref' => $ref, | ||||
| 'href' => $drequest->generateURI( | 'href' => $drequest->generateURI( | ||||
| array( | array( | ||||
| 'action' => 'browse', | 'action' => 'browse', | ||||
| 'branch' => $ref, | 'branch' => $ref, | ||||
| ))); | )), | ||||
| ); | |||||
| } | } | ||||
| return $ref_links; | return $ref_links; | ||||
| } | } | ||||
| } | } | ||||