From 03103109eabae90f7c34ea0545d27f01eebc31f7 Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Tue, 8 Mar 2011 22:05:05 -0600 Subject: Removing the unnecessary constructor in the welcome controller. Also added comments in the index method that may help users new to CodeIgniter. --- application/controllers/welcome.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/application/controllers/welcome.php b/application/controllers/welcome.php index 79689f012..4ed67500b 100644 --- a/application/controllers/welcome.php +++ b/application/controllers/welcome.php @@ -2,12 +2,7 @@ class Welcome extends CI_Controller { - function __construct() - { - parent::__construct(); - } - - function index() + public function index() { $this->load->view('welcome_message'); } -- cgit v1.2.3-24-g4f1b