summaryrefslogtreecommitdiffstats
path: root/application/controllers/welcome.php
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2011-03-09 05:05:05 +0100
committerGreg Aker <greg.aker@ellislab.com>2011-03-09 05:05:05 +0100
commit03103109eabae90f7c34ea0545d27f01eebc31f7 (patch)
tree6ded1c8a3bf997dbadc78ad56ec8ed49eef5f1a5 /application/controllers/welcome.php
parent154da11c5bb4b7dc5c225f4fa018852ee45cc6eb (diff)
Removing the unnecessary constructor in the welcome controller. Also added comments in the index method that may help users new to CodeIgniter.
Diffstat (limited to 'application/controllers/welcome.php')
-rw-r--r--application/controllers/welcome.php7
1 files changed, 1 insertions, 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');
}