mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
FIX: Server side restore should work in development mode even if the
setting is disabled.
This commit is contained in:
parent
d492bac587
commit
fe7877b558
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ module Import
|
|||
protected
|
||||
|
||||
def ensure_import_is_enabled
|
||||
raise Import::ImportDisabledError unless SiteSetting.allow_restore?
|
||||
raise Import::ImportDisabledError unless Rails.env.development? || SiteSetting.allow_restore?
|
||||
end
|
||||
|
||||
def ensure_no_operation_is_running
|
||||
|
|
Loading…
Reference in a new issue