[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);
|
fclose($fp);
|
||||||
} else {
|
} else {
|
||||||
$msg->raise("ALERT", "dom", _("The Whois database is unavailable, please try again later"));
|
$msg->raise("ALERT", "dom", _("The Whois database is unavailable, please try again later"));
|
||||||
return false;
|
return array();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($found) {
|
if ($found) {
|
||||||
return $serveurList;
|
return $serveurList;
|
||||||
} else {
|
} else {
|
||||||
$msg->raise("ALERT", "dom", _("The domain cannot be found in the Whois database"));
|
$msg->raise("ALERT", "dom", _("The domain cannot be found in the Whois database"));
|
||||||
return false;
|
return array();
|
||||||
}
|
}
|
||||||
} // whois
|
} // whois
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue