refactored task

This commit is contained in:
olegphenomenon 2021-09-22 12:56:14 +03:00
parent 651f542fcb
commit 41ee61d57a
7 changed files with 67 additions and 74 deletions

View file

@ -4,4 +4,10 @@ class Feature
ENV['obj_and_extensions_prohibited'] || false
end
def self.enable_lock_domain_with_new_statuses?
return false if ENV['enable_lock_domain_with_new_statuses'] == 'false'
ENV['enable_lock_domain_with_new_statuses'] || false
end
end