This commit is contained in:
pichalite
2016-03-10 19:46:15 +00:00
parent c1c5db4b77
commit 2f287f11b1

View File

@@ -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 {