From ab7665eea520524eebc221d6dd5df2de19a58029 Mon Sep 17 00:00:00 2001 From: resurtm Date: Tue, 13 Dec 2016 13:17:38 +0600 Subject: [PATCH] minor cleanups --- lib/User/Bootstrap.php | 4 ---- lib/User/Module.php | 1 - 2 files changed, 5 deletions(-) diff --git a/lib/User/Bootstrap.php b/lib/User/Bootstrap.php index 9dbcadd..3ee7d56 100644 --- a/lib/User/Bootstrap.php +++ b/lib/User/Bootstrap.php @@ -1,5 +1,4 @@ hasModule('user') && $app->getModule('user') instanceof Module) { $map = $this->buildClassMap($app->getModule('user')->classMap); $this->initContainer($app,$map); @@ -49,8 +47,6 @@ class Bootstrap implements BootstrapInterface { $di = Yii::$container; try { - - // events $di->set(Event\FormEvent::class); $di->set(Event\ProfileEvent::class); diff --git a/lib/User/Module.php b/lib/User/Module.php index f9415f3..2b2d2f9 100644 --- a/lib/User/Module.php +++ b/lib/User/Module.php @@ -1,5 +1,4 @@