From f7178b12e49d481492756246652b2b9832d07087 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 7 May 2020 10:14:32 -0400 Subject: [PATCH] APIv4 - Remove unused event This event was defined but never invoked. --- Civi/Api4/Event/Events.php | 8 ----- Civi/Api4/Event/GetSpecEvent.php | 54 -------------------------------- 2 files changed, 62 deletions(-) delete mode 100644 Civi/Api4/Event/GetSpecEvent.php diff --git a/Civi/Api4/Event/Events.php b/Civi/Api4/Event/Events.php index 4264ef2ff5..b42618db69 100644 --- a/Civi/Api4/Event/Events.php +++ b/Civi/Api4/Event/Events.php @@ -23,14 +23,6 @@ namespace Civi\Api4\Event; class Events { - /** - * Prepare the specification for a request. Fired from within a request to - * get fields. - * - * @see \Civi\Api4\Event\GetSpecEvent - */ - const GET_SPEC = 'civi.api.get_spec'; - /** * Build the database schema, allow adding of custom joins and tables. */ diff --git a/Civi/Api4/Event/GetSpecEvent.php b/Civi/Api4/Event/GetSpecEvent.php deleted file mode 100644 index 16e1e84ba2..0000000000 --- a/Civi/Api4/Event/GetSpecEvent.php +++ /dev/null @@ -1,54 +0,0 @@ -request = $request; - } - - /** - * @return \Civi\Api4\Generic\AbstractAction - */ - public function getRequest() { - return $this->request; - } - - /** - * @param $request - */ - public function setRequest(AbstractAction $request) { - $this->request = $request; - } - -} -- 2.25.1