Hello to everyone!
I'm writing a piece of software that will copy course content from one instance of Moodle to another.
Everything is pretty straightforward except for 'modinfo' field in the 'mdl_course' table.
Can anyone provide me with some sort of explanation about this field?
How it is build?
What is its exact purpose?
Thank you!
Best regards,
Lucas (lucas.7bd@gmail.com).
a problem with modinfo field in mdl_course database table
Lukasz Czyzewski - келді
Number of replies: 4
In reply to Lukasz Czyzewski
Re: a problem with modinfo field in mdl_course database table
Tim Hunt - келді
Its a cache, for performance reasons. Just put nothing there, and it should be rebuilt on the fly.
In reply to Tim Hunt
Re: a problem with modinfo field in mdl_course database table
Lukasz Czyzewski - келді
Thank you for your answer!
My first guess about modinfo field was that it contains information about order of modules in a course.
Do you know where moodle stores this kind of data?
Best regards,
Lukasz Cz.
My first guess about modinfo field was that it contains information about order of modules in a course.
Do you know where moodle stores this kind of data?
Best regards,
Lukasz Cz.
In reply to Lukasz Czyzewski
Re: a problem with modinfo field in mdl_course database table
Przemyslaw Stencel - келді
...information about order of modules in a course. Do you know where moodle stores this kind of data?
In the "sequence" field of the "mdl_course_sections" table.
Cheers,
Przemek
In the "sequence" field of the "mdl_course_sections" table.
Cheers,
Przemek
In reply to Przemyslaw Stencel
Re: a problem with modinfo field in mdl_course database table
Lukasz Czyzewski - келді
Thank you very much!