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:
epriestley
2015-04-09 16:15:13 -07:00
parent b717298c9e
commit d44f05eead
4 changed files with 21 additions and 26 deletions

View File

@@ -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) {