From 3a28bd6b534df7a82e5dd17188ba7ece322f3bb7 Mon Sep 17 00:00:00 2001 From: Mahmoud Wardeh <m.wardeh@fz-juelich.de> Date: Thu, 25 May 2023 12:28:12 +0200 Subject: [PATCH] delete EventListener --- lib/EventManagement.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/EventManagement.php b/lib/EventManagement.php index ec261a4..98dc2f8 100644 --- a/lib/EventManagement.php +++ b/lib/EventManagement.php @@ -26,16 +26,7 @@ class EventManagement{ * @var array of EventListener */ private $handlers = array(); - - /** - * Add a new handler, which is called on a new incoming event. - * - * @param EventListener $handler - */ - public function registerHandler($handler){ - $this->handlers[] = $handler; - } - + /** * Get a list of event ids * -- GitLab