Formatting tidy-up

This commit is contained in:
Andy Smith
2011-08-18 01:28:37 +01:00
parent f0cf7fd1d7
commit ba5c698215

View File

@@ -5,7 +5,9 @@ class API extends CI_Controller {
// Do absolutely nothing // Do absolutely nothing
function index() function index()
{ {
header("Location: ".$this->config->item('base_url'));
//load the model and get results //load the model and get results
/*
$this->load->model('logbook_model'); $this->load->model('logbook_model');
$data['data'] = array(); $data['data'] = array();
@@ -13,6 +15,7 @@ class API extends CI_Controller {
//$this->load->view('layout/header'); //$this->load->view('layout/header');
$this->load->view('api/index', $data); $this->load->view('api/index', $data);
//$this->load->view('layout/footer'); //$this->load->view('layout/footer');
*/
} }
// FUNCTION: search() // FUNCTION: search()
@@ -63,7 +66,6 @@ class API extends CI_Controller {
Finally, once this has been done, each field name is translated to the MySQL column name. Finally, once this has been done, each field name is translated to the MySQL column name.
*/ */
function search() function search()
{ {
// Load the API and Logbook models // Load the API and Logbook models