From 90513be3216d0af68a37e22806a9a074ebaf770d Mon Sep 17 00:00:00 2001 From: psychobunny Date: Wed, 6 Aug 2014 21:42:23 -0400 Subject: [PATCH] send callback directly except this time I'm fixing my own derps instead of @barisusakli --- src/categories.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/categories.js b/src/categories.js index 4011f459e0..bf42392596 100644 --- a/src/categories.js +++ b/src/categories.js @@ -93,9 +93,7 @@ var db = require('./database'), category.pageCount = results.pageCount; category.topic_row_size = 'col-md-9'; - plugins.fireHook('filter:category.get', category, uid, function(err, category) { - callback(err, category); - }); + plugins.fireHook('filter:category.get', category, uid, callback); }); }); };