1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-19 13:22:42 +01:00

Update XHProf for newPage

Summary: Simple Conversion

Test Plan: Pull up /xhprof/

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D15603
This commit is contained in:
Chad Little 2016-04-03 20:16:25 -07:00
parent 12dca28193
commit f54a2007ea

View file

@ -87,11 +87,12 @@ final class PhabricatorXHProfSampleListController
$crumbs = $this->buildApplicationCrumbs();
$crumbs->addTextCrumb(pht('XHProf Samples'));
return $this->buildApplicationPage(
array($crumbs, $list),
array(
'title' => pht('XHProf Samples'),
));
$title = pht('XHProf Samples');
return $this->newPage()
->setTitle($title)
->setCrumbs($crumbs)
->appendChild($list);
}
}