mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-05 17:35:30 +02:00
updating all group lib methods, and their callers -- #1252
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user