This commit is contained in:
barisusakli
2014-08-15 15:45:01 -04:00
parent cd096f8832
commit d852f284da
7 changed files with 128 additions and 74 deletions

View File

@@ -79,4 +79,8 @@ SocketCategories.getUsersInCategory = function(socket, cid, callback) {
user.getMultipleUserFields(uids, ['uid', 'userslug', 'username', 'picture'], callback);
};
SocketCategories.getCategoriesByPrivilege = function(socket, privilege, callback) {
categories.getCategoriesByPrivilege(socket.uid, privilege, callback);
};
module.exports = SocketCategories;