Skip to content

Commit 2892b87

Browse files
author
Laur0r
authored
Merge pull request #192 from learnweb/fix/missing-clean
Add back missing clean
2 parents ac244ed + 7bc9f3a commit 2892b87

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

locallib.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -1451,8 +1451,7 @@ function moodleoverflow_print_post($post, $discussion, $moodleoverflow, $cm, $co
14511451
$mustachedata->withinreviewperiod = $reviewable;
14521452

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

14571456
// Load the attachments.
14581457
$mustachedata->attachments = get_attachments($post, $cm);

version.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
defined('MOODLE_INTERNAL') || die();
2929

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

0 commit comments

Comments
 (0)