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
30d814d8ed
commit
1d45a63864
1 changed files with 5 additions and 5 deletions
|
@ -268,13 +268,13 @@ exports.getText = function(padID, rev, callback)
|
|||
|
||||
callback(null, data);
|
||||
})
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
//the client wants the latest text, lets return it to him
|
||||
else
|
||||
{
|
||||
var padText = exportTxt.getTXTFromAtext(pad, pad.atext);
|
||||
callback(null, {"text": padText});
|
||||
}
|
||||
var padText = exportTxt.getTXTFromAtext(pad, pad.atext);
|
||||
callback(null, {"text": padText});
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue