added deletePad API function

This commit is contained in:
Peter 'Pita' Martischka 2011-08-16 20:02:30 +01:00
parent 783c192726
commit d2c502e2be
9 changed files with 134 additions and 7 deletions

View file

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