Skip to content

Commit

Permalink
VID-682: Fix description images on course page
Browse files Browse the repository at this point in the history
  • Loading branch information
dthies committed Jul 26, 2023
1 parent 79e06d2 commit ea1a1af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -645,8 +645,7 @@ function videotime_cm_info_view(cm_info $cm) {
}

/**
* Add a get_coursemodule_info function in case any forum type wants to add 'extra' information
* for the course (see resource).
* Add a get_coursemodule_info function to add description and completion information
*
* Given a course_module object, this function returns any "extra" information that may be needed
* when printing this activity in a course listing. See get_array_of_activities() in course/lib.php.
Expand All @@ -668,7 +667,7 @@ function videotime_get_coursemodule_info($coursemodule) {

if ($coursemodule->showdescription) {
// Convert intro to html. Do not filter cached version, filters run at display time.
$result->content = format_module_intro('forum', $instance, $coursemodule->id, false);
$result->content = format_module_intro('videotime', $instance, $coursemodule->id, false);
}

// Populate the custom completion rules as key => value pairs, but only if the completion mode is 'automatic'.
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
defined('MOODLE_INTERNAL') || die();

$plugin->component = 'mod_videotime';
$plugin->release = '1.7.2';
$plugin->version = 2023011206;
$plugin->release = '1.7.3';
$plugin->version = 2023011207;
$plugin->incompatible = 402;
$plugin->requires = 2015111610;
$plugin->maturity = MATURITY_STABLE;

0 comments on commit ea1a1af

Please sign in to comment.