diff --git a/eventListener.xml b/eventListener.xml deleted file mode 100644 index af67274..0000000 --- a/eventListener.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - wcf\system\request\RouteHandler - didInit - user - 0 - chat\system\event\listener\RouteHandlerListener - - - \ No newline at end of file diff --git a/file/lib/system/event/listener/RouteHandlerListener.class.php b/file/lib/system/event/listener/RouteHandlerListener.class.php deleted file mode 100644 index 644a377..0000000 --- a/file/lib/system/event/listener/RouteHandlerListener.class.php +++ /dev/null @@ -1,25 +0,0 @@ - - * @package be.bastelstu.chat - * @subpackage system.event.listener - */ -class RouteHandlerListener implements \wcf\system\event\IEventListener { - /** - * @see \wcf\system\event\IEventListener::execute() - */ - public function execute($eventObj, $className, $eventName) { - $route = new \wcf\system\request\Route('chatAction'); - $route->setSchema('/{controller}/{action}/{id}'); - $route->setParameterOption('controller', null, 'Chat'); - $route->setParameterOption('action', null, '(Send)'); - $route->setParameterOption('id', null, '\d+', true); - $eventObj->addRoute($route); - } -} diff --git a/package.xml b/package.xml index 97c45f9..f165489 100644 --- a/package.xml +++ b/package.xml @@ -32,7 +32,6 @@ option.xml templateListener.xml pagemenu.xml - eventListener.xml acloptions.xml acpMenu.xml userGroupOption.xml @@ -50,7 +49,6 @@ option.xml templateListener.xml pagemenu.xml - eventListener.xml acloptions.xml acpMenu.xml userGroupOption.xml