Repair bugs with global parameter
This commit is contained in:
		@@ -3,7 +3,7 @@ class Logout extends Template
 | 
			
		||||
{
 | 
			
		||||
	function __construct()
 | 
			
		||||
	{
 | 
			
		||||
		global $userManager;
 | 
			
		||||
		$userManager = new UserManager ();
 | 
			
		||||
		$userManager->logout();
 | 
			
		||||
		header('Location: ' . BASEURL . 'login');
 | 
			
		||||
		die();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user