send callback directly

except this time I'm fixing my own derps instead of @barisusakli
This commit is contained in:
psychobunny
2014-08-06 21:42:23 -04:00
parent 7ffad7e0d1
commit 90513be321

View File

@@ -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);
});
});
};