Skip to content

Commit

Permalink
Fix domain statuses removal
Browse files Browse the repository at this point in the history
Close #1543s
  • Loading branch information
yulgolem committed Feb 26, 2020
1 parent ed27152 commit 0c7dff3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/domain.rb
Original file line number Diff line number Diff line change
Expand Up @@ -485,9 +485,9 @@ def admin_status_update(update)
self.delete_date = nil
when DomainStatus::SERVER_MANUAL_INZONE # removal causes server hold to set
self.outzone_at = Time.zone.now if force_delete_scheduled?
when DomainStatus::DomainStatus::EXPIRED # removal causes server hold to set
when DomainStatus::EXPIRED # removal causes server hold to set
self.outzone_at = self.expire_time + 15.day
when DomainStatus::DomainStatus::SERVER_HOLD # removal causes server hold to set
when DomainStatus::SERVER_HOLD # removal causes server hold to set
self.outzone_at = nil
end
end
Expand Down

0 comments on commit 0c7dff3

Please sign in to comment.