mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 18:26:06 +02:00
Disabled PaperTrail request for admin_store_statuses_history
This commit is contained in:
parent
a7db42b944
commit
1f4733bdde
2 changed files with 5 additions and 5 deletions
|
@ -590,8 +590,10 @@ class Domain < ApplicationRecord
|
|||
|
||||
# special handling for admin changing status
|
||||
def admin_status_update(update)
|
||||
update_unless_locked_by_registrant(update)
|
||||
update_not_by_locked_statuses(update)
|
||||
PaperTrail.request(enabled: false) do
|
||||
update_unless_locked_by_registrant(update)
|
||||
update_not_by_locked_statuses(update)
|
||||
end
|
||||
return unless update
|
||||
|
||||
# check for deleted status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue