Subversion Repositories SmartDukaan

Rev

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

Rev 12694 Rev 12738
Line 225... Line 225...
225
		}
225
		}
226
	}
226
	}
227
	function logout()
227
	function logout()
228
	{
228
	{
229
 
229
 
-
 
230
		$fosauthorized = $this->session->userdata('fosauthorized');
-
 
231
		if(isset($fosauthorized) && !empty($fosauthorized)){
-
 
232
			$this->session->unset_userdata('fosauthorized');
-
 
233
		}
230
		$authorized = $this->session->userdata('authorized');
234
		$authorized = $this->session->userdata('authorized');
231
		if(isset($authorized) and !empty($authorized))
235
		if(isset($authorized) and !empty($authorized))
232
		{
236
		{
233
			$this->session->unset_userdata('authorized');
237
			$this->session->unset_userdata('authorized');
234
			$this->session->unset_userdata('addressId');
238
			$this->session->unset_userdata('addressId');
235
			$this->session->unset_userdata('hotspotId');
239
			$this->session->unset_userdata('hotspotId');
236
			$this->session->unset_userdata('cod');
240
			$this->session->unset_userdata('cod');
237
			$this->session->unset_userdata('userId');
241
			$this->session->unset_userdata('userId');
238
			$this->session->unset_userdata('captcha');
242
			$this->session->unset_userdata('captcha');
239
			redirect(base_url().'home');
243
			redirect(base_url().'fos');
240
 
-
 
241
		}
244
		}
242
	}
245
	}
243
 
246
 
244
	function changePassword()
247
	function changePassword()
245
  {
248
  {
Line 442... Line 445...
442
*	 FOR SIGN UP - 
445
*	 FOR SIGN UP - 
443
*
446
*
444
*
447
*
445
 
448
 
446
/* End of file welcome.php */
449
/* End of file welcome.php */
447
/* Location: ./application/controllers/welcome.php */
-
 
448
450
/* Location: ./application/controllers/welcome.php */
-
 
451