Modernize ReleephProjectQuery ordering/paging
Summary: Ref T7803. Continue removing implementations of getPagingColumn() and getReversePaging(). Test Plan: Browsed and paged through Releeph projects, Maniphest tasks, Diffusion repositories. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T7803 Differential Revision: https://secure.phabricator.com/D12358
This commit is contained in:
@@ -949,14 +949,6 @@ final class ManiphestTaskQuery extends PhabricatorCursorPagedPolicyAwareQuery {
|
||||
return array_mergev($phids);
|
||||
}
|
||||
|
||||
private function loadCursorObject($id) {
|
||||
$results = id(new ManiphestTaskQuery())
|
||||
->setViewer($this->getPagingViewer())
|
||||
->withIDs(array((int)$id))
|
||||
->execute();
|
||||
return head($results);
|
||||
}
|
||||
|
||||
protected function getPagingValue($result) {
|
||||
$id = $result->getID();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user