From aefa1b0e3e241d1135108233f7edbd730fa7bc2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20Arenaza?= Date: Thu, 30 May 2013 17:09:49 +0200 Subject: [PATCH] MDL-34085 Fix the backup options names in core_course_duplicate_course Fix the option names to match those used by the backup subsystem. --- course/externallib.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/course/externallib.php b/course/externallib.php index b6648907f4b..e8adeb6134e 100644 --- a/course/externallib.php +++ b/course/externallib.php @@ -715,9 +715,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)' ) @@ -779,9 +779,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();