[fix] whois() doesn't work and prevent a legitimate install. We comment-out the 'non existing' scenario for now. See #195
This commit is contained in:
		
							parent
							
								
									835cc00836
								
							
						
					
					
						commit
						7fcd2e359b
					
				| 
						 | 
				
			
			@ -1084,14 +1084,14 @@ class m_dom {
 | 
			
		|||
            fclose($fp);
 | 
			
		||||
        } else {
 | 
			
		||||
            $msg->raise("ALERT", "dom", _("The Whois database is unavailable, please try again later"));
 | 
			
		||||
            return false;
 | 
			
		||||
            return array();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if ($found) {
 | 
			
		||||
            return $serveurList;
 | 
			
		||||
        } else {
 | 
			
		||||
            $msg->raise("ALERT", "dom", _("The domain cannot be found in the Whois database"));
 | 
			
		||||
            return false;
 | 
			
		||||
            return array();
 | 
			
		||||
        }
 | 
			
		||||
    } // whois
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue