mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 20:45:58 +01:00 
			
		
		
		
	closes #4354
This commit is contained in:
		@@ -156,7 +156,7 @@ User.deleteUsers = function(socket, uids, callback) {
 | 
			
		||||
					return next(new Error('[[error:cant-delete-other-admins]]'));
 | 
			
		||||
				}
 | 
			
		||||
 | 
			
		||||
				user.delete(uid, next);
 | 
			
		||||
				user.delete(socket.uid, uid, next);
 | 
			
		||||
			},
 | 
			
		||||
			function (next) {
 | 
			
		||||
				events.log({
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user