Метод save на модели Accounts теперь вызывается без аргумента false, т.к. из модели были удалены валидаторы

This commit is contained in:
ErickSkrauch
2016-11-02 00:02:58 +03:00
parent 3cce2c9bd1
commit b6b579b721
6 changed files with 6 additions and 6 deletions
@@ -31,7 +31,7 @@ class ConfirmEmailForm extends KeyConfirmationForm {
throw new ErrorException('Unable remove activation key.');
}
if (!$account->save(false)) {
if (!$account->save()) {
throw new ErrorException('Unable activate user account.');
}