updating all group lib methods, and their callers -- #1252

This commit is contained in:
Julian Lam
2014-03-20 09:12:49 -04:00
parent befaa56ad0
commit 7b4f596aba
11 changed files with 107 additions and 304 deletions

View File

@@ -1,11 +0,0 @@
var Groups = require('../groups'),
SocketGroups = {};
SocketGroups.getMemberships = function(socket, data, callback) {
if (data && data.uid) {
Groups.getMemberships(data.uid, callback);
}
};
module.exports = SocketGroups;