diff --git a/bigbluebutton-html5/imports/api/meetings/server/modifiers/clearMeetings.js b/bigbluebutton-html5/imports/api/meetings/server/modifiers/clearMeetings.js index 7cd4111d0aba543ff55ed5d5fa45a10583c5a9bf..110b699bf2a0c5312425502937a8294b5c6cde39 100755 --- a/bigbluebutton-html5/imports/api/meetings/server/modifiers/clearMeetings.js +++ b/bigbluebutton-html5/imports/api/meetings/server/modifiers/clearMeetings.js @@ -6,7 +6,7 @@ import { clearUsersCollection } from '/imports/api/users/server/modifiers/clearU import clearChats from '/imports/api/chat/server/modifiers/clearChats'; import { clearShapesCollection } from '/imports/api/shapes/server/modifiers/clearShapesCollection'; import clearSlides from '/imports/api/slides/server/modifiers/clearSlides'; -import clearPoll from '/imports/api/polls/server/modifiers/clearPoll'; +import clearPolls from '/imports/api/polls/server/modifiers/clearPolls'; import { clearCursorCollection } from '/imports/api/cursor/server/modifiers/clearCursorCollection'; import { clearCaptionsCollection } from '/imports/api/captions/server/modifiers/clearCaptionsCollection'; @@ -18,7 +18,7 @@ export default function clearMeetings() { clearChats(); clearCursorCollection(); clearPresentations(); - clearPoll(); + clearPolls(); clearShapesCollection(); clearSlides(); clearUsersCollection(); diff --git a/bigbluebutton-html5/imports/api/meetings/server/modifiers/removeMeeting.js b/bigbluebutton-html5/imports/api/meetings/server/modifiers/removeMeeting.js index 8ae41ea02b0c52eabb6ac2fdb95d3c1b3b85bd12..5460bf01d4f2ad51120998e63fd6bb1794c2d476 100755 --- a/bigbluebutton-html5/imports/api/meetings/server/modifiers/removeMeeting.js +++ b/bigbluebutton-html5/imports/api/meetings/server/modifiers/removeMeeting.js @@ -6,7 +6,7 @@ import { clearUsersCollection } from '/imports/api/users/server/modifiers/clearU import clearChats from '/imports/api/chat/server/modifiers/clearChats'; import { clearShapesCollection } from '/imports/api/shapes/server/modifiers/clearShapesCollection'; import clearSlides from '/imports/api/slides/server/modifiers/clearSlides'; -import clearPoll from '/imports/api/polls/server/modifiers/clearPoll'; +import clearPolls from '/imports/api/polls/server/modifiers/clearPolls'; import { clearCursorCollection } from '/imports/api/cursor/server/modifiers/clearCursorCollection'; import { clearCaptionsCollection } from '/imports/api/captions/server/modifiers/clearCaptionsCollection'; @@ -29,7 +29,7 @@ export default function removeMeeting(meetingId) { clearChats(meetingId); clearCursorCollection(meetingId); clearPresentations(meetingId); - clearPoll(meetingId); + clearPolls(meetingId); clearShapesCollection(meetingId); clearSlides(meetingId); clearUsersCollection(meetingId);