2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

FIX: notifications inconsistencies + never notify system user

This commit is contained in:
Régis Hanol 2015-04-01 11:55:59 +02:00
parent 6137a5f00b
commit eec1921ba9
4 changed files with 9 additions and 17 deletions

View file

@ -97,7 +97,7 @@ class PostCreator
if @post && @post.errors.empty?
publish
PostAlerter.post_created(@post) unless @opts[:import_mode] || @opts[:skip_notifications]
PostAlerter.post_created(@post) unless @opts[:import_mode]
track_latest_on_category
enqueue_jobs