diff --git a/bin/convert.js b/bin/convert.js index 94e9877a3..d410f7a4a 100644 --- a/bin/convert.js +++ b/bin/convert.js @@ -52,7 +52,7 @@ async.series([ { log("get all padIds out of the database..."); - etherpadDB.query("SELECT ID FROM PAD_META LIMIT", [], function(err, _padIDs) + etherpadDB.query("SELECT ID FROM PAD_META", [], function(err, _padIDs) { padIDs = _padIDs; callback(err); @@ -153,11 +153,14 @@ function convertPad(padId, callback) { if(!err) { - //parse the pages - for(var i=0,length=results.length;i