mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 20:45:58 +01:00 
			
		
		
		
	closes #1273
This commit is contained in:
		@@ -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;
 | 
			
		||||
		Reference in New Issue
	
	Block a user