mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-14 11:06:55 -04:00
Merge 858d8e6e71
into 96989e63c7
This commit is contained in:
commit
83a3fdbab0
2 changed files with 4 additions and 4 deletions
|
@ -46,7 +46,7 @@ exports.createGroupPad = groupManager.createGroupPad;
|
||||||
/**PADLIST FUNCTION****/
|
/**PADLIST FUNCTION****/
|
||||||
/**********************/
|
/**********************/
|
||||||
|
|
||||||
exports.listAllPads = padManager.getPads;
|
exports.listAllPads = padManager.listAllPads;
|
||||||
|
|
||||||
/**********************/
|
/**********************/
|
||||||
/**AUTHOR FUNCTIONS****/
|
/**AUTHOR FUNCTIONS****/
|
||||||
|
|
|
@ -158,12 +158,12 @@ exports.getPad = function(id, text, callback)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.getPads = function(callback)
|
exports.listAllPads = function(callback)
|
||||||
{
|
{
|
||||||
if(callback != null){
|
if(callback != null){
|
||||||
callback(null,padList.getPads());
|
callback(null,{padIDs: padList.getPads()});
|
||||||
}else{
|
}else{
|
||||||
return padList.getPads();
|
return {padIDs: padList.getPads()};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue