mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
refactored task
This commit is contained in:
parent
651f542fcb
commit
41ee61d57a
7 changed files with 67 additions and 74 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue