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