From 2f467a82a17f3458345f0c1318c36a40d4264d8f 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 c174ce30235..75b400c0f04 100644 --- a/course/externallib.php +++ b/course/externallib.php @@ -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();