Merge pull request #5122 from yariplus/patch-14

Add oldTitle to topic edit hook
v1.18.x
Barış Soner Uşaklı 8 years ago committed by GitHub
commit 54a24f8dbd

@ -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,

Loading…
Cancel
Save