@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator

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

+6 -5
+6 -5
src/applications/xhprof/controller/PhabricatorXHProfSampleListController.php
··· 87 87 $crumbs = $this->buildApplicationCrumbs(); 88 88 $crumbs->addTextCrumb(pht('XHProf Samples')); 89 89 90 - return $this->buildApplicationPage( 91 - array($crumbs, $list), 92 - array( 93 - 'title' => pht('XHProf Samples'), 94 - )); 90 + $title = pht('XHProf Samples'); 91 + 92 + return $this->newPage() 93 + ->setTitle($title) 94 + ->setCrumbs($crumbs) 95 + ->appendChild($list); 95 96 96 97 } 97 98 }