From 30703272d4b7914638d148745ed1f57fc9a0d7c1 Mon Sep 17 00:00:00 2001 From: Justus Dieckmann Date: Wed, 24 Jul 2024 14:56:18 +0200 Subject: [PATCH 1/2] Add back missing clean --- locallib.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/locallib.php b/locallib.php index 25432cea9d..d2cebd1a78 100644 --- a/locallib.php +++ b/locallib.php @@ -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); From 7bc9f3aa5eb743d13bcf71da39ec23024d5ee47e Mon Sep 17 00:00:00 2001 From: Justus Dieckmann Date: Thu, 25 Jul 2024 13:20:46 +0200 Subject: [PATCH 2/2] Bump version for v4.4-r2 --- version.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/version.php b/version.php index 4039f2352b..997dc33ef5 100644 --- a/version.php +++ b/version.php @@ -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 = [];