Update TldRegistryService.php
This commit is contained in:
@@ -322,7 +322,7 @@ class TldRegistryService
|
|||||||
$stats['total_tlds']++;
|
$stats['total_tlds']++;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$result = $this->fetchWhoisDataFromIana($tld['tld']);
|
$result = $this->fetchWhoisDataFromRdap($tld['tld']);
|
||||||
|
|
||||||
if ($result) {
|
if ($result) {
|
||||||
$this->tldModel->update($tld['id'], $result);
|
$this->tldModel->update($tld['id'], $result);
|
||||||
@@ -1869,7 +1869,7 @@ class TldRegistryService
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Fetch WHOIS data
|
// Fetch WHOIS data
|
||||||
$result = $this->fetchWhoisDataFromIana($tld);
|
$result = $this->fetchWhoisDataFromRdap($tld);
|
||||||
|
|
||||||
if ($result && $existing) {
|
if ($result && $existing) {
|
||||||
$this->tldModel->update($existing['id'], $result);
|
$this->tldModel->update($existing['id'], $result);
|
||||||
|
|||||||
Reference in New Issue
Block a user