added filter:category.get

v1.18.x
Barış Soner Uşaklı 10 years ago
parent f4c587c530
commit 429d7cbfa2

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

Loading…
Cancel
Save