Where Does Moodle Store Lesson Activity Names? The Ones That Display In the Couse View?

Re: Where Does Moodle Store Lesson Activity Names? The Ones That Display In the Couse View?

by Juan Salazar -
Number of replies: 0
Just in case anybody was wondering, if anybody wants to clear cache after updating a course activity or the like, simply:


$courseID = required_param('course', PARAM_INT);
rebuild_course_cache($courseID);


This did the trick for me. Here's the page that explains the rebuild course function: https://github.com/moodle/moodle/blob/master/lib/modinfolib.php.

Again, thank you very much, Renaat!