diff --git a/application/controllers/Dashboard.php b/application/controllers/Dashboard.php index a7a04fd89..c16f61060 100644 --- a/application/controllers/Dashboard.php +++ b/application/controllers/Dashboard.php @@ -7,7 +7,6 @@ class Dashboard extends CI_Controller { $this->load->model('user_model'); if (!$this->user_model->authorize(2)) { - $this->session->set_flashdata('error', __("You're not allowed to do that!")); redirect('user/login'); } }