mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 05:25:08 +02:00
MDL-31355 mod_forum: WS should return duedate and cutoffdate.
This commit is contained in:
parent
bbbf182089
commit
99bcb31895
@ -127,6 +127,8 @@ class mod_forum_external extends external_api {
|
||||
'intro' => new external_value(PARAM_RAW, 'The forum intro'),
|
||||
'introformat' => new external_format_value('intro'),
|
||||
'introfiles' => new external_files('Files in the introduction text', VALUE_OPTIONAL),
|
||||
'duedate' => new external_value(PARAM_INT, 'duedate for the user', VALUE_OPTIONAL),
|
||||
'cutoffdate' => new external_value(PARAM_INT, 'cutoffdate for the user', VALUE_OPTIONAL),
|
||||
'assessed' => new external_value(PARAM_INT, 'Aggregate type'),
|
||||
'assesstimestart' => new external_value(PARAM_INT, 'Assess start time'),
|
||||
'assesstimefinish' => new external_value(PARAM_INT, 'Assess finish time'),
|
||||
|
@ -9,6 +9,8 @@ information provided here is intended especially for developers.
|
||||
* The get_forum_discussion_posts web service has been deprecated in favour of get_discussion_posts.
|
||||
* The forum_count_replies function has been deprecated in favour of get_reply_count_for_post_id_in_discussion_id in
|
||||
the Post vault.
|
||||
* External function get_forums_by_courses now returns two additional fields "duedate" and "cutoffdate" containing the due date and the cutoff date
|
||||
for posting to the forums respectively.
|
||||
|
||||
=== 3.6 ===
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user