lib/middleware/submissions.js
function remove(req, res, next) {
  var params = {"_id": req.params.id};

  logger.debug("Middleware Submissions Remove ", {params: params});
  forms.deleteSubmission(req.connectionOptions, params, submissionsHandler(constants.resultTypes.submissions, req, next));
}
function remove(req, res, next) {
  var params = {"_id": req.params.id};

  logger.debug("Middleware Submissions Remove ", {params: params});
  forms.deleteSubmission(req.connectionOptions, params, submissionsHandler(constants.resultTypes.submissions, req, next));
}
function remove ( req , res , next ) { var params = { "_id" : req . params . id } ; logger . debug ( "Middleware Submissions Remove " , { params : params } ) ; forms . deleteSubmission ( req . connectionOptions , params , submissionsHandler ( constants . resultTypes . submissions , req , next ) ) ; }
Remove A Single Submission
@param req
@param res
@param next
Remove A Single Submission