Merge branch 'MDL-82244-405' of https://github.com/paulholden/moodle into MOODLE_405_STABLE
This commit is contained in:
@@ -896,8 +896,12 @@ class core_course_external extends external_api {
|
||||
'showreports' => new external_value(PARAM_INT,
|
||||
'are activity report shown (yes = 1, no =0)', VALUE_DEFAULT,
|
||||
$courseconfig->showreports),
|
||||
'visible' => new external_value(PARAM_INT,
|
||||
'1: available to student, 0:not available', VALUE_OPTIONAL),
|
||||
'visible' => new external_value(
|
||||
PARAM_INT,
|
||||
'1: available to student, 0: not available',
|
||||
VALUE_DEFAULT,
|
||||
$courseconfig->visible,
|
||||
),
|
||||
'hiddensections' => new external_value(PARAM_INT,
|
||||
'(deprecated, use courseformatoptions) How the hidden sections in the course are displayed to students',
|
||||
VALUE_OPTIONAL),
|
||||
|
||||
Reference in New Issue
Block a user