Make topicSlug and postCount available to email notifications, so these can be used in template if needed

v1.18.x
Danijel 9 years ago
parent 4ca49d7c92
commit ba2d191f80

@ -233,6 +233,8 @@ module.exports = function(Topics) {
username: data.userData.username,
userslug: data.userData.userslug,
url: nconf.get('url') + '/topic/' + postData.topic.tid,
topicSlug: postData.topic.slug,
postCount: postData.topic.postcount,
base_url: nconf.get('url')
}, next);
} else {

Loading…
Cancel
Save