diff options
author | Peter 'Pita' Martischka <petermartischka@googlemail.com> | 2011-08-16 20:02:30 +0100 |
---|---|---|
committer | Peter 'Pita' Martischka <petermartischka@googlemail.com> | 2011-08-16 20:02:30 +0100 |
commit | d2c502e2bef4257d75d95765a6eb6e42b1c05f93 (patch) | |
tree | 39b1298d6e9afc3ed86505921e5c63198a24e4a5 /node/db/API.js | |
parent | 783c192726cf8998a445849e110839eb51cd3be4 (diff) | |
download | etherpad-lite-d2c502e2bef4257d75d95765a6eb6e42b1c05f93.zip |
added deletePad API function
Diffstat (limited to 'node/db/API.js')
-rw-r--r-- | node/db/API.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/node/db/API.js b/node/db/API.js index acce6485..9912b098 100644 --- a/node/db/API.js +++ b/node/db/API.js @@ -230,7 +230,6 @@ Example returns: */ exports.deletePad = function(padID, callback) { - //get the pad getPadSafe(padID, true, function(err, pad) { if(err) @@ -239,7 +238,7 @@ exports.deletePad = function(padID, callback) return; } - + pad.remove(callback); }); } |