From b1b9c844ac1ab38802517bc0bc8f0f9fd0bbf325 Mon Sep 17 00:00:00 2001 From: epriestley Date: Thu, 16 Apr 2020 05:54:57 -0700 Subject: [PATCH] Remove unused "getAllFunctionFields()" from Ferret Summary: Ref T13511. This function does nothing interesting and has no callers. Test Plan: Grepped for callers. Maniphest Tasks: T13511 Differential Revision: https://secure.phabricator.com/D21126 --- .../search/ferret/PhabricatorFerretEngine.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/applications/search/ferret/PhabricatorFerretEngine.php b/src/applications/search/ferret/PhabricatorFerretEngine.php index ee6ca57ec3..391b7d0240 100644 --- a/src/applications/search/ferret/PhabricatorFerretEngine.php +++ b/src/applications/search/ferret/PhabricatorFerretEngine.php @@ -29,17 +29,6 @@ abstract class PhabricatorFerretEngine extends Phobject { return $map[$function]['field']; } - public function getAllFunctionFields() { - $map = $this->getFunctionMap(); - - $fields = array(); - foreach ($map as $key => $spec) { - $fields[] = $spec['field']; - } - - return $fields; - } - protected function getFunctionMap() { return array( 'all' => array(