Skip to content

Commit

Permalink
Merge pull request #192 from learnweb/fix/missing-clean
Browse files Browse the repository at this point in the history
Add back missing clean
  • Loading branch information
Laur0r authored Jul 25, 2024
2 parents ac244ed + 7bc9f3a commit 2892b87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1451,8 +1451,7 @@ function moodleoverflow_print_post($post, $discussion, $moodleoverflow, $cm, $co
$mustachedata->withinreviewperiod = $reviewable;

// Prepare the post.
$options = (array) portfolio_format_text_options() + ['context' => $modulecontext];
$mustachedata->postcontent = format_text($post->message, $post->messageformat, $options);
$mustachedata->postcontent = format_text($post->message, $post->messageformat, ['context' => $modulecontext]);

// Load the attachments.
$mustachedata->attachments = get_attachments($post, $cm);
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
defined('MOODLE_INTERNAL') || die();

$plugin->component = 'mod_moodleoverflow';
$plugin->version = 2024071200;
$plugin->release = 'v4.4-r1';
$plugin->version = 2024072500;
$plugin->release = 'v4.4-r2';
$plugin->requires = 2022112800; // Requires 4.1+ Moodle version.
$plugin->maturity = MATURITY_STABLE;
$plugin->dependencies = [];

0 comments on commit 2892b87

Please sign in to comment.