minor cleanups

This commit is contained in:
resurtm
2016-12-13 13:17:38 +06:00
parent 04d040da81
commit ab7665eea5
2 changed files with 0 additions and 5 deletions

View File

@ -1,5 +1,4 @@
<?php
namespace Da\User;
use Da\User\Helper\ClassMapHelper;
@ -21,7 +20,6 @@ class Bootstrap implements BootstrapInterface
*/
public function bootstrap($app)
{
if ($app->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);