Remove trivial implementations of getPagingColumn()
Summary: Ref T7803. Some Query subclasses implement getPagingColumn() in a trivial way, usually to provide a table alias. Formalize the concept of a primary table alias, and remove obsoleted getPagingColumn() implementations. Test Plan: Issued affected queries. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T7803 Differential Revision: https://secure.phabricator.com/D12356
This commit is contained in:
@@ -380,8 +380,8 @@ final class PhabricatorProjectQuery
|
||||
return 'PhabricatorProjectApplication';
|
||||
}
|
||||
|
||||
protected function getApplicationSearchObjectPHIDColumn() {
|
||||
return 'p.phid';
|
||||
protected function getPrimaryTableAlias() {
|
||||
return 'p';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user