Remove Controller->getLoadedHandles()
Summary: Ref T7689. Removes this part of the `Controller->loadHandles()` + `Controller->getLoadedHandles()` mechanism. Test Plan: - Viewed Herald transcripts. - Viewed Maniphest tasks with attached revisions and commits. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T7689 Differential Revision: https://secure.phabricator.com/D12204
This commit is contained in:
@@ -440,10 +440,6 @@ abstract class PhabricatorController extends AphrontController {
|
||||
return $this;
|
||||
}
|
||||
|
||||
protected function getLoadedHandles() {
|
||||
return $this->handles;
|
||||
}
|
||||
|
||||
protected function loadViewerHandles(array $phids) {
|
||||
return id(new PhabricatorHandleQuery())
|
||||
->setViewer($this->getRequest()->getUser())
|
||||
@@ -471,7 +467,7 @@ abstract class PhabricatorController extends AphrontController {
|
||||
}
|
||||
|
||||
return implode_selected_handle_links($style_map[$style],
|
||||
$this->getLoadedHandles(),
|
||||
$this->handles,
|
||||
array_filter($phids));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user