Force refresh a course in code behind

Force refresh a course in code behind

by Edmund Evangelista -
Number of replies: 0
Is there any other function similar to rebuild_course_cache($courseid) that can force refresh a course in code behind? I tried rebuild_course_cache but it takes a bit longer to process. I have this page that updates the uploaded syllabus in a course along with other custom fields that I update in database. However updating a module used by course via code behind does not reflect immediately after updating the database.
Average of ratings: -