@ -388,18 +388,6 @@ function emitOnlineUserCount(callback) {
}
Sockets.debug = function(callback) {
var uids = [];
//var clients = io.sockets.clients('uid_1');
var clients = io.sockets.clients('/');
for(var i=0; i<clients.length; ++i) {
if (clients[i].uid !== 0 && uids.indexOf(clients[i].uid) === -1) {
uids.push(clients[i].uid);
callback(null, uids);
/* Exporting */
@ -280,10 +280,6 @@ SocketUser.getActiveUsers = function(socket, data, callback) {
module.parent.exports.emitOnlineUserCount(callback);
};
SocketUser.debug = function(socket, data, callback) {
module.parent.exports.debug(callback);
SocketUser.loadMore = function(socket, data, callback) {
if(!data || !data.set || parseInt(data.after, 10) < 0) {
return callback(new Error('[[error:invalid-data]]'));