mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-50995 mod_forum: New WS mod_forum_add_discussion_post
This commit is contained in:
parent
e28004e614
commit
50a2031712
6 changed files with 241 additions and 2 deletions
|
@ -81,4 +81,13 @@ $functions = array(
|
|||
'type' => 'write',
|
||||
'capabilities' => 'mod/forum:viewdiscussion'
|
||||
),
|
||||
|
||||
'mod_forum_add_discussion_post' => array(
|
||||
'classname' => 'mod_forum_external',
|
||||
'methodname' => 'add_discussion_post',
|
||||
'classpath' => 'mod/forum/externallib.php',
|
||||
'description' => 'Create new posts into an existing discussion.',
|
||||
'type' => 'write',
|
||||
'capabilities' => 'mod/forum:replypost'
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue