updated restore function

This commit is contained in:
olegphenomenon 2021-10-22 13:40:33 +03:00
parent f65063f6a5
commit 6a050f9ce3
5 changed files with 14 additions and 6 deletions

View file

@ -11,7 +11,6 @@ module Domains
# Allow deletion
statuses.delete(DomainStatus::CLIENT_DELETE_PROHIBITED)
# statuses.delete(DomainStatus::SERVER_DELETE_PROHIBITED)
domain.save(validate: false)
end
end