diff --git a/src/applications/chatlog/controller/PhabricatorChatLogChannelListController.php b/src/applications/chatlog/controller/PhabricatorChatLogChannelListController.php --- a/src/applications/chatlog/controller/PhabricatorChatLogChannelListController.php +++ b/src/applications/chatlog/controller/PhabricatorChatLogChannelListController.php @@ -32,13 +32,10 @@ ->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 --- a/src/applications/chatlog/controller/PhabricatorChatLogChannelLogController.php +++ b/src/applications/chatlog/controller/PhabricatorChatLogChannelLogController.php @@ -248,14 +248,11 @@ $form, '#'); - return $this->buildApplicationPage( - array( - $crumbs, - $box, - ), - array( - 'title' => pht('Channel Log'), - )); + return $this->newPage() + ->setTitle(pht('Channel Log')) + ->setCrumbs($crumbs) + ->appendChild($box); + } /**