Subversion Repositories SmartDukaan

Rev

Rev 15750 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15750 Rev 16276
Line 227... Line 227...
227
	{
227
	{
228
 
228
 
229
		$authorized = $this->session->userdata('authorized');
229
		$authorized = $this->session->userdata('authorized');
230
		if(isset($authorized) and !empty($authorized))
230
		if(isset($authorized) and !empty($authorized))
231
		{
231
		{
232
			$this->session->unset_userdata('authorized');
-
 
233
			$this->session->unset_userdata('addressId');
-
 
234
			$this->session->unset_userdata('hotspotId');
-
 
235
			$this->session->unset_userdata('cod');
232
			$this->session->sess_destroy();
236
			$this->session->unset_userdata('userId');
-
 
237
			$this->session->unset_userdata('captcha');
-
 
238
			redirect(base_url().'home');
233
			redirect(base_url().'home');
239
 
234
 
240
		}
235
		}
241
	}
236
	}
242
 
237