bigbluebutton-Github/bigbluebutton-html5/imports/api/users-infos/server/modifiers/clearUserInfo.js
2019-04-05 18:32:21 -04:00

9 lines
267 B
JavaScript

import UserInfos from '/imports/api/users-infos';
import Logger from '/imports/startup/server/logger';
export default function clearUsersInfo(meetingId) {
return UserInfos.remove({ meetingId }, () => {
Logger.info(`Cleared User Infos (${meetingId})`);
});
}