mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 22:09:12 +08:00
BUGFIX: system user needs no drafts.
This commit is contained in:
@ -25,7 +25,7 @@ class PostRevisor
|
||||
update_topic_excerpt
|
||||
post_process_post
|
||||
update_topic_word_counts
|
||||
@post.advance_draft_sequence
|
||||
@post.advance_draft_sequence unless editor.id == Discourse::SYSTEM_USER_ID
|
||||
PostAlerter.new.after_save_post(@post)
|
||||
publish_revision
|
||||
|
||||
|
Reference in New Issue
Block a user