mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 22:23:33 +01:00
db/API.js: early return, no functional changes
This commit is contained in:
parent
fef57efd46
commit
610a6db8c8
1 changed files with 10 additions and 10 deletions
|
@ -399,10 +399,11 @@ exports.getHTML = function(padID, rev, callback)
|
|||
var data = {html: html};
|
||||
callback(null, data);
|
||||
});
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
//the client wants the latest text, lets return it to him
|
||||
else
|
||||
{
|
||||
exportHtml.getPadHTML(pad, undefined, function (err, html)
|
||||
{
|
||||
if(ERR(err, callback)) return;
|
||||
|
@ -411,7 +412,6 @@ exports.getHTML = function(padID, rev, callback)
|
|||
var data = {html: html};
|
||||
callback(null, data);
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue