minor cleanup
This commit is contained in:
		
				
					committed by
					
						
						Steffen Schröder
					
				
			
			
				
	
			
			
			
						parent
						
							b1921fcc2b
						
					
				
				
					commit
					22707ea946
				
			@@ -90,10 +90,10 @@ class AuthenticationManager implements CallbackListener {
 | 
			
		||||
			trigger_error($mysqli->error, E_USER_ERROR);
 | 
			
		||||
			return false;
 | 
			
		||||
		}
 | 
			
		||||
		$adminStatement->bind_param('si', $login, $masterAdminLevel);
 | 
			
		||||
		$success = true;
 | 
			
		||||
		foreach($masterAdmins as $masterAdmin) {
 | 
			
		||||
			$login = (string)$masterAdmin;
 | 
			
		||||
			$adminStatement->bind_param('si', $login, $masterAdminLevel);
 | 
			
		||||
			$adminStatement->execute();
 | 
			
		||||
			if ($adminStatement->error) {
 | 
			
		||||
				trigger_error($adminStatement->error);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user