Clean up some more handle callsites
Summary: Ref T7689. Test Plan: - Viewed Calendar browse and detail views. - Went through Differential update workflow. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T7689 Differential Revision: https://secure.phabricator.com/D12341
This commit is contained in:
@@ -6,8 +6,7 @@ final class DifferentialChangesetViewController extends DifferentialController {
|
||||
return true;
|
||||
}
|
||||
|
||||
public function processRequest() {
|
||||
$request = $this->getRequest();
|
||||
public function handleRequest(AphrontRequest $request) {
|
||||
$viewer = $this->getViewer();
|
||||
|
||||
$author_phid = $viewer->getPHID();
|
||||
|
||||
@@ -135,13 +135,10 @@ final class DifferentialDiffCreateController extends DifferentialController {
|
||||
->setUser($viewer);
|
||||
|
||||
if ($revision) {
|
||||
$revision_handles = $this->loadViewerHandles(array($revision->getPHID()));
|
||||
$revision_handle = head($revision_handles);
|
||||
|
||||
$form->appendChild(
|
||||
id(new AphrontFormMarkupControl())
|
||||
->setLabel(pht('Updating Revision'))
|
||||
->setValue($revision_handle->renderLink()));
|
||||
->setValue($viewer->renderHandle($revision->getPHID())));
|
||||
}
|
||||
|
||||
if ($repository_phid) {
|
||||
|
||||
Reference in New Issue
Block a user