mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Add the posts that need to be reviewed to the hamburger
This commit is contained in:
@@ -43,6 +43,8 @@ class NewPostManager
|
||||
enqueuer = PostEnqueuer.new(@user, queue)
|
||||
post = enqueuer.enqueue(@args)
|
||||
|
||||
QueuedPost.publish_new! if post && post.errors.empty?
|
||||
|
||||
result.check_errors_from(enqueuer)
|
||||
result
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user