Removing unused variable
Adding CI
Using PHP 5.3 syntax