mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:34:31 +08:00
rename site setting to
This commit is contained in:
@ -71,7 +71,7 @@ module Import
|
||||
protected
|
||||
|
||||
def ensure_import_is_enabled
|
||||
raise Import::ImportDisabledError unless SiteSetting.allow_import?
|
||||
raise Import::ImportDisabledError unless SiteSetting.allow_restore?
|
||||
end
|
||||
|
||||
def ensure_no_operation_is_running
|
||||
|
Reference in New Issue
Block a user