Page MenuHomePhabricator

D16439.id39536.diff
No OneTemporary

D16439.id39536.diff

diff --git a/src/applications/base/controller/PhabricatorController.php b/src/applications/base/controller/PhabricatorController.php
--- a/src/applications/base/controller/PhabricatorController.php
+++ b/src/applications/base/controller/PhabricatorController.php
@@ -575,44 +575,4 @@
return $page->produceAphrontResponse();
}
-
- /**
- * DEPRECATED. Use @{method:newPage}.
- */
- public function buildApplicationPage($view, array $options) {
- $page = $this->newPage();
-
- $title = PhabricatorEnv::getEnvConfig('phabricator.serious-business') ?
- 'Phabricator' :
- pht('Bacon Ice Cream for Breakfast');
-
- $page->setTitle(idx($options, 'title', $title));
-
- if (idx($options, 'class')) {
- $page->addClass($options['class']);
- }
-
- if (!($view instanceof AphrontSideNavFilterView)) {
- $nav = new AphrontSideNavFilterView();
- $nav->appendChild($view);
- $view = $nav;
- }
-
- $page->appendChild($view);
-
- $object_phids = idx($options, 'pageObjects', array());
- if ($object_phids) {
- $page->setPageObjectPHIDs($object_phids);
- }
-
- if (!idx($options, 'device', true)) {
- $page->setDeviceReady(false);
- }
-
- $page->setShowFooter(idx($options, 'showFooter', true));
- $page->setShowChrome(idx($options, 'chrome', true));
-
- return $page->produceAphrontResponse();
- }
-
}

File Metadata

Mime Type
text/plain
Expires
Mon, Oct 21, 11:48 PM (4 w, 7 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6739545
Default Alt Text
D16439.id39536.diff (1 KB)

Event Timeline