Merge pull request #5122 from yariplus/patch-14

Add oldTitle to topic edit hook
This commit is contained in:
Barış Soner Uşaklı
2016-10-17 11:17:59 +03:00
committed by GitHub

View File

@@ -136,6 +136,7 @@ module.exports = function (Posts) {
},
function (tags, next) {
topicData.tags = data.tags;
topicData.oldTitle = results.topic.title;
plugins.fireHook('action:topic.edit', topicData);
next(null, {
tid: tid,