From ec63ba4b17390ba2fefd2bd26866df8220306c2d Mon Sep 17 00:00:00 2001 From: barisusakli Date: Fri, 21 Mar 2014 15:04:10 -0400 Subject: [PATCH] removed unused method --- src/socket.io/admin.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/socket.io/admin.js b/src/socket.io/admin.js index d8b6aa8022..72ed56d833 100644 --- a/src/socket.io/admin.js +++ b/src/socket.io/admin.js @@ -73,18 +73,6 @@ SocketAdmin.fireEvent = function(socket, data, callback) { index.server.sockets.emit(data.name, data.payload || {}); }; -/* Topics */ -SocketAdmin.topics.getMore = function(socket, data, callback) { - if(!data) { - return callback(new Error('invalid data')); - } - - var start = parseInt(data.after, 10), - end = start + parseInt(data.limit, 10); - - topics.getAllTopics(start, end, callback); -}; - /* User */ SocketAdmin.user.makeAdmin = function(socket, theirid) { admin.user.makeAdmin(socket.uid, theirid, socket);