Remove unused parameter noDocType.

My editor also auto-stripped some EOL whitespace.
This commit is contained in:
Dan Bornstein 2016-09-08 09:46:13 -07:00
parent 879ae7c67d
commit a0403ffc22
2 changed files with 7 additions and 7 deletions

View file

@ -76,7 +76,7 @@ exports.doExport = function(req, res, padId, type)
} }
else if(type == "txt") else if(type == "txt")
{ {
exporttxt.getPadTXTDocument(padId, req.params.rev, false, function(err, txt) exporttxt.getPadTXTDocument(padId, req.params.rev, function(err, txt)
{ {
if(ERR(err)) return; if(ERR(err)) return;
res.send(txt); res.send(txt);

View file

@ -271,7 +271,7 @@ function getTXTFromAtext(pad, atext, authorColors)
} }
exports.getTXTFromAtext = getTXTFromAtext; exports.getTXTFromAtext = getTXTFromAtext;
exports.getPadTXTDocument = function (padId, revNum, noDocType, callback) exports.getPadTXTDocument = function (padId, revNum, callback)
{ {
padManager.getPad(padId, function (err, pad) padManager.getPad(padId, function (err, pad)
{ {