mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 20:45:58 +01:00 
			
		
		
		
	removed event:disconnect
This commit is contained in:
		@@ -88,7 +88,6 @@ User.banUser = function(uid, callback) {
 | 
			
		||||
 | 
			
		||||
			websockets.in('uid_' + uid).emit('event:banned');
 | 
			
		||||
 | 
			
		||||
			websockets.logoutUser(uid);
 | 
			
		||||
			callback();
 | 
			
		||||
		});
 | 
			
		||||
	});
 | 
			
		||||
@@ -193,7 +192,6 @@ User.deleteUsers = function(socket, uids, callback) {
 | 
			
		||||
					ip: socket.ip
 | 
			
		||||
				});
 | 
			
		||||
 | 
			
		||||
				websockets.logoutUser(uid);
 | 
			
		||||
				next();
 | 
			
		||||
			});
 | 
			
		||||
		});
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user