This commit is contained in:
barisusakli
2014-04-04 12:42:41 -04:00
parent 640686f031
commit 0cd13b7b66
5 changed files with 169 additions and 94 deletions

View File

@@ -43,4 +43,8 @@ SocketCategories.getPageCount = function(socket, cid, callback) {
categories.getPageCount(cid, socket.uid, callback);
};
SocketCategories.getTopicCount = function(socket, cid, callback) {
categories.getCategoryField(cid, 'topic_count', callback);
};
module.exports = SocketCategories;