mirror of
https://github.com/moodle/moodle.git
synced 2025-06-02 14:15:11 +02:00
MDL-57052 course: Missing required file in check_module_updates_since
This commit is contained in:
parent
b4d6669dd0
commit
0840b3e687
@ -3992,6 +3992,7 @@ function course_check_module_updates_since($cm, $from, $fileareas = array(), $fi
|
||||
// Check comments.
|
||||
if (plugin_supports('mod', $cm->modname, FEATURE_COMMENT) and (empty($filter) or in_array('comments', $filter))) {
|
||||
$updates->comments = (object) array('updated' => false);
|
||||
require_once($CFG->dirroot . '/comment/lib.php');
|
||||
require_once($CFG->dirroot . '/comment/locallib.php');
|
||||
$manager = new comment_manager();
|
||||
$comments = $manager->get_component_comments_since($course, $context, $component, $from, $cm);
|
||||
|
Loading…
x
Reference in New Issue
Block a user