Метод 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

View File

@@ -77,7 +77,7 @@ class ChangePasswordForm extends ApiForm {
}
}
if (!$account->save(false)) {
if (!$account->save()) {
throw new ErrorException('Cannot save user model');
}