add cassaopen/default account behaviors
This commit is contained in:
@@ -74,6 +74,8 @@ class AccountStateController extends Controller {
|
||||
$lastStates = AccountState::readLastForUser ( AccountState::TYPE_CLOSE );
|
||||
$lastStates = AccountState::modelsToArray ( $lastStates );
|
||||
|
||||
// \Yii::$app->session->setFlash('error','ok');
|
||||
|
||||
$model = new AccountState ();
|
||||
$model->type = AccountState::TYPE_OPEN;
|
||||
$model->id_user = Yii::$app->user->id;
|
||||
|
||||
Reference in New Issue
Block a user