mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
skip auto-close during import
This commit is contained in:
parent
94a10516e9
commit
3deda3ca39
@ -151,7 +151,7 @@ class PostCreator
|
||||
|
||||
trigger_after_events(@post)
|
||||
|
||||
auto_close
|
||||
auto_close unless @opts[:import_mode]
|
||||
end
|
||||
|
||||
if @post || @spam
|
||||
|
Loading…
Reference in New Issue
Block a user