added filter:category.get

This commit is contained in:
Barış Soner Uşaklı
2015-02-12 13:23:12 -05:00
parent f4c587c530
commit 429d7cbfa2

View File

@@ -64,7 +64,9 @@ var async = require('async'),
category.isIgnored = results.isIgnored[0];
category.topic_row_size = 'col-md-9';
callback(null, category);
plugins.fireHook('filter:category.get', {category: category, uid: data.uid}, function(err, data) {
callback(err, data ? data.category : null);
});
});
});
};