Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 180... Línea 180...
180
        $DB->set_field('course_modules', 'instance', $instanceid, array('id' => $cmid));
180
        $DB->set_field('course_modules', 'instance', $instanceid, array('id' => $cmid));
Línea 181... Línea 181...
181
 
181
 
182
        // Rebuild the course cache after update action.
182
        // Rebuild the course cache after update action.
Línea 183... Línea 183...
183
        rebuild_course_cache($this->course->id, true);
183
        rebuild_course_cache($this->course->id, true);
Línea 184... Línea 184...
184
 
184
 
185
        course_add_cm_to_section($this->course, $cmid, $this->section);
185
        course_add_cm_to_section($this->course, $cmid, $this->section, modname: $this->handlerinfo->get_module_name());
186
 
186
 
187
        set_coursemodule_visible($cmid, $visible);
187
        set_coursemodule_visible($cmid, $visible);