Remove superfluous load of view

This commit is contained in:
Eike Foken
2011-09-08 00:04:53 +02:00
parent f068ee9ee0
commit 7b98b416ee

View File

@@ -99,7 +99,6 @@ class Projects extends CI_Controller {
redirect('/projects/detail/' . $data['project_id'], 303); redirect('/projects/detail/' . $data['project_id'], 303);
} else { } else {
$this->messages->add(_('The project could not be created.'), 'error'); $this->messages->add(_('The project could not be created.'), 'error');
$this->load->view('projects/new');
} }
} }