mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-14 00:50:14 -04:00
skip auto-close during import
This commit is contained in:
parent
94a10516e9
commit
3deda3ca39
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue