mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
allow only for pads less than 10 to be overwritten
This commit is contained in:
parent
ab5e7381a2
commit
a6400b3f61
2 changed files with 18 additions and 7 deletions
|
@ -23,7 +23,6 @@ exports.setPadRaw = function(padId, records, callback){
|
|||
|
||||
async.eachSeries(Object.keys(records), function(key, cb){
|
||||
var value = records[key]
|
||||
|
||||
// rewrite padId
|
||||
var oldPadId = key.split(":");
|
||||
oldPadId[1] = padId;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue