From 67adb4d8c1201f3aeec7b14b2bb92d7c3910f68c Mon Sep 17 00:00:00 2001 From: Juan Leyva Date: Thu, 8 Jun 2017 10:03:07 +0100 Subject: [PATCH] MDL-40015 core_course: Fix description of duplicate_course WS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It said that the duplication didn’t include user data, but that’s not true since there is a parameter to include it. --- lib/db/services.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/db/services.php b/lib/db/services.php index 7af71ca6d0b..59a6abe4b15 100644 --- a/lib/db/services.php +++ b/lib/db/services.php @@ -244,7 +244,7 @@ $functions = array( 'classname' => 'core_course_external', 'methodname' => 'duplicate_course', 'classpath' => 'course/externallib.php', - 'description' => 'Duplicate an existing course (creating a new one), without user data', + 'description' => 'Duplicate an existing course (creating a new one).', 'type' => 'write', 'capabilities' => 'moodle/backup:backupcourse, moodle/restore:restorecourse, moodle/course:create' ),