minor change

This commit is contained in:
Antonio Ramirez
2017-08-06 22:26:44 +02:00
parent a8644fdaa7
commit dbfe4308d5

View File

@ -12,7 +12,6 @@
namespace Da\User\Controller; namespace Da\User\Controller;
use Da\User\Contracts\MailChangeStrategyInterface; use Da\User\Contracts\MailChangeStrategyInterface;
use Da\User\Event\FormEvent;
use Da\User\Event\ProfileEvent; use Da\User\Event\ProfileEvent;
use Da\User\Event\SocialNetworkConnectEvent; use Da\User\Event\SocialNetworkConnectEvent;
use Da\User\Event\UserEvent; use Da\User\Event\UserEvent;
@ -213,7 +212,7 @@ class SettingsController extends Controller
public function actionDelete() public function actionDelete()
{ {
if (!$this->module->allowAccountDelete) { if (!$this->module->allowAccountDelete) {
throw new NotFoundHttpException(\Yii::t('usuario', 'Not found')); throw new NotFoundHttpException(Yii::t('usuario', 'Not found'));
} }
/** @var User $user */ /** @var User $user */