bigbluebutton-Github/bigbluebutton-html5/imports/api/breakouts/server/modifiers/clearBreakouts.js

9 lines
259 B
JavaScript
Raw Normal View History

2016-11-14 19:57:10 +08:00
import Breakouts from '/imports/api/breakouts';
import Logger from '/imports/startup/server/logger';
export default function (meetingId) {
return Breakouts.remove({
2016-11-15 02:23:04 +08:00
breakoutMeetingId: meetingId,
2016-11-14 19:57:10 +08:00
}, Logger.info(`Cleared Breakouts (${meetingId})`));
}