From cf5abd9e4b6bff2efc4bb7464cfbd5789934e1e0 Mon Sep 17 00:00:00 2001 From: Andre Klapper Date: Fri, 16 Aug 2024 08:52:50 +0200 Subject: [PATCH] Remove unused HeraldAdapter:buildTokenizerFieldValue() Summary: This private function was added in https://we.phorge.it/rP715233fb611569b86f8fd4d8339a7e514c749d69. Its last use was removed in https://we.phorge.it/rP776caa507b15ef013d3d623d30b294181e2b4c11. Test Plan: Grep the code; run static code analysis. Reviewers: O1 Blessed Committers, valerio.bozzolan Reviewed By: O1 Blessed Committers, valerio.bozzolan Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Differential Revision: https://we.phorge.it/D25785 --- src/applications/herald/adapter/HeraldAdapter.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/applications/herald/adapter/HeraldAdapter.php b/src/applications/herald/adapter/HeraldAdapter.php index ce6f371d91..c04a10ea51 100644 --- a/src/applications/herald/adapter/HeraldAdapter.php +++ b/src/applications/herald/adapter/HeraldAdapter.php @@ -843,16 +843,6 @@ abstract class HeraldAdapter extends Phobject { return $impl->getHeraldActionValueType(); } - private function buildTokenizerFieldValue( - PhabricatorTypeaheadDatasource $datasource) { - - $key = 'action.'.get_class($datasource); - - return id(new HeraldTokenizerFieldValue()) - ->setKey($key) - ->setDatasource($datasource); - } - /* -( Repetition )--------------------------------------------------------- */