diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-01-16 21:06:36 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-01-16 21:06:36 -0500 |
commit | 6a7b8ec60f265413ca88878dba6180456257d370 (patch) | |
tree | 5b36bf3122d6884cb09b66e623e28768e92ed9ba /app/Subscriber/BootstrapSubscriber.php | |
parent | 6a0895ef765ea7b83df02bb9789fda7415dee9a5 (diff) |
Make sure that some event subscribers are not executed multiple times
Diffstat (limited to 'app/Subscriber/BootstrapSubscriber.php')
-rw-r--r-- | app/Subscriber/BootstrapSubscriber.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Subscriber/BootstrapSubscriber.php b/app/Subscriber/BootstrapSubscriber.php index d114bf86..a65cf651 100644 --- a/app/Subscriber/BootstrapSubscriber.php +++ b/app/Subscriber/BootstrapSubscriber.php @@ -3,9 +3,8 @@ namespace Kanboard\Subscriber; use Symfony\Component\EventDispatcher\EventSubscriberInterface; -use Kanboard\Core\Base; -class BootstrapSubscriber extends Base implements EventSubscriberInterface +class BootstrapSubscriber extends BaseSubscriber implements EventSubscriberInterface { public static function getSubscribedEvents() { @@ -16,6 +15,7 @@ class BootstrapSubscriber extends Base implements EventSubscriberInterface public function execute() { + $this->logger->debug('Subscriber executed: '.__CLASS__.'::'.__METHOD__); $this->config->setupTranslations(); $this->config->setupTimezone(); $this->actionManager->attachEvents(); |