Test Husky pre-commit hook.
This commit is contained in:
parent
744d16f1e0
commit
e2afbaade8
|
@ -11,9 +11,7 @@ class Form extends CI_Controller
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
parent::__construct();$this->load->model('Form_model')
|
parent::__construct();$this->load->model('Form_model')
|
||||||
}
|
}public function submit()
|
||||||
|
|
||||||
public function submit()
|
|
||||||
{
|
{
|
||||||
if (!$this->session->userdata('logged_in')) {
|
if (!$this->session->userdata('logged_in')) {
|
||||||
// If not logged in, redirect to login page
|
// If not logged in, redirect to login page
|
||||||
|
|
Loading…
Reference in New Issue