<commit_before><?php
	class Usuarios extends CI_Controller{	
		public function __construct(){
			parent::__construct();
			$this->load->library('session');
			$user = $this->session->userdata('logged');
			
			if (!isset($user)) { 
				redirect(base_url().'index.php','refresh');
			} 
		}

		public function WHead(){
			$this->load->view('header');
			$this->load->view('dashboardclean');
		}

		public function index(){
			$this->WHead();
			$data['TBUS']=$this->Users_model->allUser();
			//$data['RLUS']=$this->Users_model->allRol();             
			$this->load->view('users', $data);
			//$data['RLUS']=$this->Users_model->allRol();
			$this->load->view('Usuario/users', $data);
			$this->load->view('footer');
		}
		
		public function Eliminar($ID, $status){
			if($status == 1)
			{
				$status = 0;
			}
			elseif($status == 0)
			{
				$status = 1;
			}
			$this->Users_model->del($ID, $status);
		}

		public function Clave($ID, $pass){
			$this->Users->Clave($ID, $pass);
		}
<commit_msg>30-05-2017<commit_after><?php
	class Usuarios extends CI_Controller{	
		public function __construct(){
			parent::__construct();
			$this->load->library('session');
			$user = $this->session->userdata('logged');
			
			if (!isset($user)) { 
				redirect(base_url().'index.php','refresh');
			} 
		}

		public function WHead(){
			$this->load->view('header');
			$this->load->view('dashboardclean');
		}

		public function index(){
			$this->WHead();
			$data['TBUS']=$this->Users_model->allUser();
			//$data['RLUS']=$this->Users_model->allRol();
			$this->load->view('Usuario/users', $data);
			$this->load->view('footer');
		}
		
		public function Eliminar($ID, $status){
			if($status == 1)
			{
				$status = 0;
			}
			elseif($status == 0)
			{
				$status = 1;
			}
			$this->Users_model->del($ID, $status);
		}

		public function Clave($ID, $pass){
			$this->Users->Clave($ID, $pass);
		}

{'fraction_non_alphanumeric': 0.22691292875989447, 'fraction_numerical': 0.008443271767810026, 'mean_word_length': 3.461176470588235, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1670350', 'n_tokens_mistral': 829, 'n_tokens_neox': 674, 'n_words': 101}