Skip to content

Node.js based forum software built for the modern web

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

Andrea Cardinale7c5ba9b7b11a
diff --git a/src/favourites.js b/src/favourites.js
index 58a945e211..e38e11298e 100644
--- a/src/favourites.js
+++ b/src/favourites.js
@@ -307,12 +307,6 @@ var async = require('async'),
results.postData.reputation = count;
posts.setPostField(pid, 'reputation', count, next);
},
- function(next) {
- plugins.fireHook('action:post.' + type, {
- pid: pid,
- uid: uid,
- }, next);
- },
function(next) {
next(null, {
post: results.postData,