Issues with duplication courses via API

Issues with duplication courses via API

by Ingo Marzolph -
Number of replies: 0

Hello Moodle Community,

we have the following case:

- students run through a course of 12 courses

- studensts speak 3 different languages

- so we have 12 master courses and each have quizzes, sections for each language

Our approach is to have 12 courses and in each we have the variations for each langauge and each are marked by the use of "containes to a custom course field"

My normal approach is to to:

- duplicate each course for the cohort

- do a mysql query based on the custom field

-  and delete the not needed componentes via API "core_course_delete_modules"

and we are done. 


But somehow Moodle can´t handle this anymore.


Do you have similar cases?
Maybe I am doing it wrong in moodle!


Average of ratings: -