From b5f0b589878d88a8fd8d2a76758f481d19591fe1 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Sat, 2 Apr 2016 12:32:58 -0700 Subject: [PATCH] Update chatlog to newPage() Summary: Just clearing these all out. Test Plan: Visit channel list and log page. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15577 --- .../PhabricatorChatLogChannelListController.php | 13 +++++-------- .../PhabricatorChatLogChannelLogController.php | 13 +++++-------- 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/src/applications/chatlog/controller/PhabricatorChatLogChannelListController.php b/src/applications/chatlog/controller/PhabricatorChatLogChannelListController.php index cdff189633..530c26770a 100644 --- a/src/applications/chatlog/controller/PhabricatorChatLogChannelListController.php +++ b/src/applications/chatlog/controller/PhabricatorChatLogChannelListController.php @@ -32,13 +32,10 @@ final class PhabricatorChatLogChannelListController ->setHeaderText('Channel List') ->setObjectList($list); - return $this->buildApplicationPage( - array( - $crumbs, - $box, - ), - array( - 'title' => pht('Channel List'), - )); + return $this->newPage() + ->setTitle(pht('Channel List')) + ->setCrumbs($crumbs) + ->appendChild($box); + } } diff --git a/src/applications/chatlog/controller/PhabricatorChatLogChannelLogController.php b/src/applications/chatlog/controller/PhabricatorChatLogChannelLogController.php index fe505ecf60..2c6e58da50 100644 --- a/src/applications/chatlog/controller/PhabricatorChatLogChannelLogController.php +++ b/src/applications/chatlog/controller/PhabricatorChatLogChannelLogController.php @@ -248,14 +248,11 @@ final class PhabricatorChatLogChannelLogController $form, '#'); - return $this->buildApplicationPage( - array( - $crumbs, - $box, - ), - array( - 'title' => pht('Channel Log'), - )); + return $this->newPage() + ->setTitle(pht('Channel Log')) + ->setCrumbs($crumbs) + ->appendChild($box); + } /**