task #334735 by recidive: Remove patching core dependency and only send notifications if a comment is truly published.