Merge pull request #3219 from rbeer/topic.del-payload

send topicData on action:topic.delete
This commit is contained in:
Barış Soner Uşaklı
2015-06-19 15:30:46 -04:00

View File

@@ -39,7 +39,7 @@ var async = require('async'),
topicData.deleted = isDelete ? 1 : 0;
if (isDelete) {
plugins.fireHook('action:topic.delete', tid);
plugins.fireHook('action:topic.delete', topicData);
} else {
plugins.fireHook('action:topic.restore', topicData);
}