Skip to content

Commit

Permalink
Release 1.3.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-milette committed Oct 23, 2023
1 parent 84ea739 commit c7b954a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# Change Log
All notable changes to this project will be documented in this file.

## [1.3.0] - 2023-10-20
## [1.3.1] - 2023-10-23
### Added
- Added support for attachments.
- Added configurable setting to enable/disable attachments. Default is disabled.
### Updated
- Compatible with Moodle up to v4.3.
- Compatible with PHP 5.6 to 8.2.

## [1.2.4] - 2022-05-07
### Updated
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Local Contact Form plugin for Moodle
====================================
![PHP](https://img.shields.io/badge/PHP-v5.6%20%2F%20v7.0%20%2F%20v7.1%20%2F%207.2%20%2F%207.3%20%2F%207.4%20%2F%208.1-blue.svg)
![PHP](https://img.shields.io/badge/PHP-v5.6%20%2F%20v7.0%20%2F%20v7.1%20%2F%207.2%20%2F%207.3%20%2F%207.4%20%2F%208.1%20%2F%208.2-blue.svg)
![Moodle](https://img.shields.io/badge/Moodle-v3.0%20to%20v4.3-orange.svg)
[![GitHub Issues](https://img.shields.io/github/issues/michael-milette/moodle-local_contact.svg)](https://github.com/michael-milette/moodle-local_contact/issues)
[![Contributions welcome](https://img.shields.io/badge/contributions-welcome-green.svg)](#contributing)
Expand Down
9 changes: 7 additions & 2 deletions classes/local_contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,16 @@
* @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class local_contact {
/**
public $fromname;
public $fromemail;
public $isspambot;
public $errmsg;

/**
* Class constructor. Receives and validates information received through a
* web form submission.
*
* @return True if the information received passes our spambot detection. False if it fails.
* @return boolean True if the information received passes our spambot detection. False if it fails.
*/
public function __construct() {
global $CFG;
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
defined('MOODLE_INTERNAL') || die();

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

0 comments on commit c7b954a

Please sign in to comment.