bigbluebutton-Github/bigbluebutton-html5/imports/api/breakouts/server/modifiers/clearBreakouts.js
Gabriel Carvalho de Campes 694e300d55 Polish breakout code
2016-11-14 16:23:04 -02:00

9 lines
259 B
JavaScript

import Breakouts from '/imports/api/breakouts';
import Logger from '/imports/startup/server/logger';
export default function (meetingId) {
return Breakouts.remove({
breakoutMeetingId: meetingId,
}, Logger.info(`Cleared Breakouts (${meetingId})`));
}