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) { | 					if (numOwners <= 1) { | ||||||
| 						return next(new Error('[[error:group-needs-owner]]')); | 						return next(new Error('[[error:group-needs-owner]]')); | ||||||
| 					} | 					} | ||||||
| 					Groups.leave(groupName, uid, callback); | 					Groups.leave(groupName, uid, next); | ||||||
| 					next(); |  | ||||||
| 				} | 				} | ||||||
| 			], callback); | 			], callback); | ||||||
| 		} else { | 		} else { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user