db/GroupManager: early return, no functional changes

This commit is contained in:
muxator 2018-08-29 02:39:05 +02:00
parent 604952bc97
commit f7254a47ea

View file

@ -236,11 +236,12 @@ exports.createGroupIfNotExistsFor = function(groupMapper, callback)
// hah, the returned group doesn't exist, let's create one // hah, the returned group doesn't exist, let's create one
createGroupForMapper(callback) createGroupForMapper(callback)
}) })
return;
} }
//there is no group for this mapper, let's create a group //there is no group for this mapper, let's create a group
else { createGroupForMapper(callback)
createGroupForMapper(callback)
}
}); });
} }