*/ class Debug extends MY_Controller { /** * Constructor. */ public function __construct() { parent::__construct(); if(ENVIRONMENT == "production") { show_error("Debugging functions are not available in a production environment.", 400); } } public function cancel_job($experiment, $jobId) { $this->load->model('job'); $this->job->delete($jobId); redirect("experiments/detail/".$experiment); } } /* End of file debug.php */ /* Location: ./application/controllers/debug.php */