Changes in database section name table don't appear

Changes in database section name table don't appear

by Ahmed A. -
Number of replies: 3

I want to make multiple updates on section names so when I try to change a section name values in the mdl_course_sections table the new name don't update in the course page.

Average of ratings: -
In reply to Ahmed A.

Re: Changes in database section name table don't appear

by William Lu -
Moving to the General Help forum...
In reply to Ahmed A.

Re: Changes in database section name table don't appear

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I would strongly discourage you from updating the database directly. You probably don't know if there are dependencies that might cause problems.

However, your problem here will be that you need to purge caches after the update.
In reply to Howard Miller

Re: Changes in database section name table don't appear

by Ahmed A. -
I know it is risky to modify directly on the database
First I try this on a testing instance not a production site
I regularly do this with entries not related to dependencies in another table
I'm not a developer but tried to follow the mechanism in the PHP source and found that two tables involved in this action if followed the interface way
mdl_course
mdl_course_format_options

I Will try to make this change and do purge caches