mirror of
https://github.com/moodle/moodle.git
synced 2025-04-24 09:55:33 +02:00
MDL-34085 Fix the backup options names in core_course_duplicate_course
Fix the option names to match those used by the backup subsystem.
This commit is contained in:
parent
b6f8a93642
commit
7469c51270
@ -902,9 +902,9 @@ class core_course_external extends external_api {
|
||||
"users" (int) Include users (default to 0 that is equal to no),
|
||||
"role_assignments" (int) Include role assignments (default to 0 that is equal to no),
|
||||
"comments" (int) Include user comments (default to 0 that is equal to no),
|
||||
"completion_information" (int) Include user course completion information (default to 0 that is equal to no),
|
||||
"userscompletion" (int) Include user course completion information (default to 0 that is equal to no),
|
||||
"logs" (int) Include course logs (default to 0 that is equal to no),
|
||||
"histories" (int) Include histories (default to 0 that is equal to no)'
|
||||
"grade_histories" (int) Include histories (default to 0 that is equal to no)'
|
||||
),
|
||||
'value' => new external_value(PARAM_RAW, 'the value for the option 1 (yes) or 0 (no)'
|
||||
)
|
||||
@ -966,9 +966,9 @@ class core_course_external extends external_api {
|
||||
'users' => 0,
|
||||
'role_assignments' => 0,
|
||||
'comments' => 0,
|
||||
'completion_information' => 0,
|
||||
'userscompletion' => 0,
|
||||
'logs' => 0,
|
||||
'histories' => 0
|
||||
'grade_histories' => 0
|
||||
);
|
||||
|
||||
$backupsettings = array();
|
||||
|
Loading…
x
Reference in New Issue
Block a user