mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-18 03:31:03 +01:00
removing groups.cover.get, seemingly it doesn't do anything
This commit is contained in:
@@ -228,10 +228,6 @@ SocketGroups.loadMoreMembers = function(socket, data, callback) {
|
||||
|
||||
SocketGroups.cover = {};
|
||||
|
||||
SocketGroups.cover.get = function(socket, data, callback) {
|
||||
groups.getGroupFields(data.groupName, ['cover:url', 'cover:position'], callback);
|
||||
};
|
||||
|
||||
SocketGroups.cover.update = function(socket, data, callback) {
|
||||
if (!socket.uid) {
|
||||
return callback(new Error('[[error:no-privileges]]'));
|
||||
|
||||
Reference in New Issue
Block a user