mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 06:37:10 -04:00
added listAllPads API command, renamed listPads(GroupID) for Group Pads to listGroupPads(GroupID)
This commit is contained in:
parent
ecd486e440
commit
8fbc96dd7a
4 changed files with 54 additions and 3 deletions
|
@ -33,7 +33,7 @@ var async = require("async");
|
|||
exports.createGroup = groupManager.createGroup;
|
||||
exports.createGroupIfNotExistsFor = groupManager.createGroupIfNotExistsFor;
|
||||
exports.deleteGroup = groupManager.deleteGroup;
|
||||
exports.listPads = groupManager.listPads;
|
||||
exports.listGroupPads = groupManager.listGroupPads;
|
||||
exports.createGroupPad = groupManager.createGroupPad;
|
||||
|
||||
/**********************/
|
||||
|
@ -57,6 +57,15 @@ exports.listSessionsOfAuthor = sessionManager.listSessionsOfAuthor;
|
|||
/**PAD CONTENT FUNCTIONS*/
|
||||
/************************/
|
||||
|
||||
|
||||
exports.listAllPads = function(callback)
|
||||
{
|
||||
padManager.listAllPads(callback);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
getText(padID, [rev]) returns the text of a pad
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue