mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
Merge pull request #1342 from spcsser/feature/padlisting
API & backend to list pads on epl instance
This commit is contained in:
commit
654654b4e1
5 changed files with 121 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue