mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-17 09:45:29 +00:00
chore: remove a condition
This commit is contained in:
parent
0b8d0dcf42
commit
46ac93df89
@ -101,10 +101,6 @@ readonly class RDAPService
|
||||
*/
|
||||
public static function isToBeWatchClosely(Domain $domain, \DateTimeImmutable $updatedAt): bool
|
||||
{
|
||||
if ($updatedAt->diff(new \DateTimeImmutable('now'))->h < 23) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$status = $domain->getStatus();
|
||||
if (!empty($status) && count(array_intersect($status, self::IMPORTANT_STATUS))) {
|
||||
return true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user