Merge pull request #1342 from spcsser/feature/padlisting

API & backend to list pads on epl instance
This commit is contained in:
John McLear 2013-01-14 08:13:57 -08:00
commit 654654b4e1
5 changed files with 121 additions and 3 deletions

View file

@ -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();
}