Remove unnecessary empty checks from willFilterPage()
Summary: Fixes T3600. These checks are obsolete after D6512. Test Plan: Syntax / static / inspection. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T3600 Differential Revision: https://secure.phabricator.com/D6563
This commit is contained in:
@@ -157,10 +157,6 @@ final class PhabricatorMacroQuery
|
||||
}
|
||||
|
||||
protected function willFilterPage(array $macros) {
|
||||
if (!$macros) {
|
||||
return array();
|
||||
}
|
||||
|
||||
$file_phids = mpull($macros, 'getFilePHID');
|
||||
$files = id(new PhabricatorFileQuery())
|
||||
->setViewer($this->getViewer())
|
||||
|
||||
Reference in New Issue
Block a user