Merge pull request #4082 from pichalite/master

add uid to hook 'filter:controllers.topic.get'
v1.18.x
Barış Soner Uşaklı 9 years ago
commit 9122794167

@ -124,7 +124,7 @@ topicsController.get = function(req, res, callback) {
topics.modifyByPrivilege(topicData.posts, results.privileges);
plugins.fireHook('filter:controllers.topic.get', topicData, next);
plugins.fireHook('filter:controllers.topic.get', {topicData: topicData, uid: req.uid}, next);
});
},
function (topicData, next) {

Loading…
Cancel
Save