Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / audit / controller / PhabricatorAuditController.php
blobad1b22d99e0260d2611e4f984567197227511e95
1 <?php
3 abstract class PhabricatorAuditController extends PhabricatorController {
5 public function buildSideNavView() {
7 $user = $this->getRequest()->getUser();
9 $nav = new AphrontSideNavFilterView();
10 $nav->setBaseURI(new PhutilURI($this->getApplicationURI()));
12 id(new PhabricatorCommitSearchEngine())
13 ->setViewer($user)
14 ->addNavigationItems($nav->getMenu());
16 $nav->selectFilter(null);
18 return $nav;
21 public function buildApplicationMenu() {
22 return $this->buildSideNavView()->getMenu();