removing groups.cover.get, seemingly it doesn't do anything

This commit is contained in:
psychobunny
2015-10-28 17:04:02 -04:00
parent 973da9bdcc
commit 02d1304185
3 changed files with 1 additions and 31 deletions

View File

@@ -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]]'));