From d052c6eb034d94bc2ba9a24b433b036b41357672 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Fri, 17 Oct 2014 09:50:09 +0000 Subject: [PATCH] Move EventDispatcher class to a separate namespace --- Plugin.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Plugin.php b/Plugin.php index bdd49e8..9d98568 100644 --- a/Plugin.php +++ b/Plugin.php @@ -23,6 +23,7 @@ namespace Mibew\Mibew\Plugin\TitleNotification; +use Mibew\EventDispatcher\EventDispatcher; use Symfony\Component\HttpFoundation\Request; /** @@ -90,7 +91,7 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi public function run() { // Attach CSS and JS files of the plugin to chat window. - $dispatcher = \Mibew\EventDispatcher::getInstance(); + $dispatcher = EventDispatcher::getInstance(); $dispatcher->attachListener('pageAddJS', $this, 'attachJsFiles'); }