From 7c5ba9b7b11a80156c6593837cb38cc447196b46 Mon Sep 17 00:00:00 2001 From: Andrea Cardinale Date: Tue, 12 May 2015 23:52:48 +0200 Subject: [PATCH] Revert "Add hooks: action:post.favourite and action:post.unfavourite" This reverts commit 1d22a2d46b73c39770c6e9927aa31ab5a1d91937. --- src/favourites.js | 6 ------ 1 file changed, 6 deletions(-) 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,