Skip to content

Commit

Permalink
Fixed compatibility with Moodle 4.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-milette committed Oct 3, 2024
1 parent 9b56b83 commit 9621e7a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Change Log
All notable changes to this project will be documented in this file.

## [1.4.2] - 2024-10-03
### Updated
- Fixed compatibility with Moodle 4.5.

## [1.4.1] - 2024-06-19
### Updated
- Fixed compatibility with PHP 5.6.
Expand Down
4 changes: 2 additions & 2 deletions classes/local_contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,8 @@ function filterempty($string) {
current_language(),
getremoteaddr(),
$this->moodleuserstatus($from->email),
format_text($SITE->fullname, FORMAT_HTML, ['context' => $systemcontext, 'escape' => false]) . ': ',
format_text($SITE->shortname, FORMAT_HTML, ['context' => $systemcontext, 'escape' => false]),
format_text($SITE->fullname, FORMAT_HTML, ['context' => $systemcontext]) . ': ',
format_text($SITE->shortname, FORMAT_HTML, ['context' => $systemcontext]),
$CFG->wwwroot,
$httpuseragent,
$httpreferer,
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

$context = context_system::instance();
$PAGE->set_context($context);
$PAGE->set_heading(format_text($SITE->fullname, FORMAT_HTML, ['context' => $context, 'escape' => false]));
$PAGE->set_heading(format_text($SITE->fullname, FORMAT_HTML, ['context' => $context]));
$PAGE->set_pagelayout('standard');
$PAGE->set_title(get_string('confirmationpage', 'local_contact'));
$PAGE->navbar->add('');
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2024061900; // The current module version (Date: YYYYMMDDXX).
$plugin->version = 2024100300; // The current module version (Date: YYYYMMDDXX).
$plugin->requires = 2015111600; // Requires Moodle version 3.0.
$plugin->component = 'local_contact'; // To check on upgrade, that module sits in correct place.
$plugin->release = '1.4.1';
$plugin->release = '1.4.2';
$plugin->maturity = MATURITY_STABLE;
$plugin->cron = 0;

0 comments on commit 9621e7a

Please sign in to comment.