mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
Merge branch 'MDL-57052-master' of git://github.com/jleyva/moodle
This commit is contained in:
commit
30cfed3731
1 changed files with 1 additions and 0 deletions
|
@ -3993,6 +3993,7 @@ function course_check_module_updates_since($cm, $from, $fileareas = array(), $fi
|
||||||
// Check comments.
|
// Check comments.
|
||||||
if (plugin_supports('mod', $cm->modname, FEATURE_COMMENT) and (empty($filter) or in_array('comments', $filter))) {
|
if (plugin_supports('mod', $cm->modname, FEATURE_COMMENT) and (empty($filter) or in_array('comments', $filter))) {
|
||||||
$updates->comments = (object) array('updated' => false);
|
$updates->comments = (object) array('updated' => false);
|
||||||
|
require_once($CFG->dirroot . '/comment/lib.php');
|
||||||
require_once($CFG->dirroot . '/comment/locallib.php');
|
require_once($CFG->dirroot . '/comment/locallib.php');
|
||||||
$manager = new comment_manager();
|
$manager = new comment_manager();
|
||||||
$comments = $manager->get_component_comments_since($course, $context, $component, $from, $cm);
|
$comments = $manager->get_component_comments_since($course, $context, $component, $from, $cm);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue