indorilftw/ntua-db — comment on commit 22bb4b41a4cae30e257a3feffefd728b68d683c7
File: models/employee.php line 18
By dionyziz:

It is forbidden to use Redirect within models. Move it to the respective controller. try/catch in the controller. Also, the model should not have access to the $errors variable. @indorilftw