mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Added functionality to list pads on this server.
This commit is contained in:
parent
a42f220ee2
commit
198754222d
4 changed files with 97 additions and 3 deletions
|
@ -473,8 +473,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