Page MenuHomePhabricator

D15578.id37559.diff
No OneTemporary

D15578.id37559.diff

diff --git a/src/applications/conpherence/controller/ConpherenceListController.php b/src/applications/conpherence/controller/ConpherenceListController.php
--- a/src/applications/conpherence/controller/ConpherenceListController.php
+++ b/src/applications/conpherence/controller/ConpherenceListController.php
@@ -127,11 +127,9 @@
$layout->setHeader($this->buildHeaderPaneContent(
$conpherence,
$policy_objects));
- $response = $this->buildApplicationPage(
- $layout,
- array(
- 'title' => $title,
- ));
+ $response = $this->newPage()
+ ->setTitle($title)
+ ->appendChild($layout);
break;
}
diff --git a/src/applications/conpherence/controller/ConpherenceViewController.php b/src/applications/conpherence/controller/ConpherenceViewController.php
--- a/src/applications/conpherence/controller/ConpherenceViewController.php
+++ b/src/applications/conpherence/controller/ConpherenceViewController.php
@@ -131,12 +131,10 @@
->setLatestTransactionID($data['latest_transaction_id'])
->setRole('thread');
- return $this->buildApplicationPage(
- $layout,
- array(
- 'title' => $title,
- 'pageObjects' => array($conpherence->getPHID()),
- ));
+ return $this->newPage()
+ ->setTitle($title)
+ ->setPageObjectPHIDs(array($conpherence->getPHID()))
+ ->appendChild($layout);
}
private function renderFormContent() {

File Metadata

Mime Type
text/plain
Expires
Tue, Oct 22, 8:53 PM (3 w, 4 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6721494
Default Alt Text
D15578.id37559.diff (1 KB)

Event Timeline