feat: if a domain is deleted, it must be updated

This commit is contained in:
Maël Gangloff
2024-09-07 01:14:50 +02:00
parent 684313bc8f
commit 3e51425f68
2 changed files with 29 additions and 20 deletions

View File

@@ -102,7 +102,7 @@ readonly class RDAPService
public static function isToBeWatchClosely(Domain $domain): bool
{
$status = $domain->getStatus();
if (!empty($status) && count(array_intersect($status, self::IMPORTANT_STATUS))) {
if ((!empty($status) && count(array_intersect($status, self::IMPORTANT_STATUS))) || $domain->getDeleted()) {
return true;
}