removed setting analytics to empty array after submissions are deleted

This commit is contained in:
David Baldwynn 2017-11-20 21:11:28 -08:00
parent 2c9e931257
commit e0ad256904

View file

@ -35,7 +35,6 @@ exports.deleteSubmissions = function(req, res) {
return;
}
form.analytics.visitors = [];
form.save(function(formSaveErr){
if(formSaveErr){
res.status(400).send({