Revert "Add hooks: action:post.favourite and action:post.unfavourite"

This reverts commit 1d22a2d46b.
v1.18.x
Andrea Cardinale 10 years ago
parent 1d22a2d46b
commit 7c5ba9b7b1

@ -307,12 +307,6 @@ var async = require('async'),
results.postData.reputation = count; results.postData.reputation = count;
posts.setPostField(pid, 'reputation', count, next); posts.setPostField(pid, 'reputation', count, next);
}, },
function(next) {
plugins.fireHook('action:post.' + type, {
pid: pid,
uid: uid,
}, next);
},
function(next) { function(next) {
next(null, { next(null, {
post: results.postData, post: results.postData,

Loading…
Cancel
Save