mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
chore: revert changes
This commit is contained in:
@@ -728,14 +728,14 @@ class RDAPService
|
||||
}
|
||||
|
||||
if ($domain->isPendingDelete() && (
|
||||
in_array('pending delete', $lastStatus->getAddStatus() ?? [])
|
||||
|| in_array('redemption period', $lastStatus->getDeleteStatus() ?? []))
|
||||
in_array('pending delete', $lastStatus->getAddStatus())
|
||||
|| in_array('redemption period', $lastStatus->getDeleteStatus()))
|
||||
) {
|
||||
return self::daysBetween($now, $lastStatus->getCreatedAt()->add(new \DateInterval('P'. 5 .'D')));
|
||||
}
|
||||
|
||||
if ($domain->isRedemptionPeriod()
|
||||
&& in_array('redemption period', $lastStatus->getAddStatus() ?? [])
|
||||
&& in_array('redemption period', $lastStatus->getAddStatus())
|
||||
) {
|
||||
return self::daysBetween($now, $lastStatus->getCreatedAt()->add(new \DateInterval('P'.(30 + 5).'D')));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user