diff options
author | John McLear <john@mclear.co.uk> | 2013-01-14 08:13:57 -0800 |
---|---|---|
committer | John McLear <john@mclear.co.uk> | 2013-01-14 08:13:57 -0800 |
commit | 654654b4e1bd4e9440b561a0aa76c5e787b6485b (patch) | |
tree | 82ba855682a53d4264e87e5efbe9e93b652bcba2 /src/node/db/Pad.js | |
parent | 2b89fa871326c9c2c8cccc583507736c9de2948e (diff) | |
parent | 9687ecbb829721ff6272cfbc7d4a8e3eba9a4892 (diff) | |
download | etherpad-lite-654654b4e1bd4e9440b561a0aa76c5e787b6485b.zip |
Merge pull request #1342 from spcsser/feature/padlisting
API & backend to list pads on epl instance
Diffstat (limited to 'src/node/db/Pad.js')
-rw-r--r-- | src/node/db/Pad.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/node/db/Pad.js b/src/node/db/Pad.js index 0914c175..da1ce9e1 100644 --- a/src/node/db/Pad.js +++ b/src/node/db/Pad.js @@ -455,8 +455,7 @@ Pad.prototype.remove = function remove(callback) { //delete the pad entry and delete pad from padManager function(callback) { - db.remove("pad:"+padID); - padManager.unloadPad(padID); + padManager.removePad(padID); hooks.callAll("padRemove", {'padID':padID}); callback(); } |