mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	cleanup
This commit is contained in:
		| @@ -425,8 +425,7 @@ module.exports = function(Groups) { | ||||
| 					if (numOwners <= 1) { | ||||
| 						return next(new Error('[[error:group-needs-owner]]')); | ||||
| 					} | ||||
| 					Groups.leave(groupName, uid, callback); | ||||
| 					next(); | ||||
| 					Groups.leave(groupName, uid, next); | ||||
| 				} | ||||
| 			], callback); | ||||
| 		} else { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user