From 8f9504d607212e988d8f19eaf3a1300e499f88bc Mon Sep 17 00:00:00 2001 From: Alexander Bias Date: Tue, 30 Jul 2024 10:52:29 +0200 Subject: [PATCH] Prepare compatibility for Moodle 4.1. --- .github/workflows/moodle-plugin-ci.yml | 6 +++--- CHANGES.md | 4 ++++ README.md | 2 +- version.php | 4 ++-- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/moodle-plugin-ci.yml b/.github/workflows/moodle-plugin-ci.yml index 727bc74..f9301f3 100644 --- a/.github/workflows/moodle-plugin-ci.yml +++ b/.github/workflows/moodle-plugin-ci.yml @@ -8,7 +8,7 @@ jobs: services: postgres: - image: postgres:12 + image: postgres:13 env: POSTGRES_USER: 'postgres' POSTGRES_HOST_AUTH_METHOD: 'trust' @@ -30,8 +30,8 @@ jobs: strategy: fail-fast: false matrix: - php: ['7.4'] - moodle-branch: ['MOODLE_39_STABLE'] + php: ['7.4', '8.0', '8.1'] + moodle-branch: ['MOODLE_401_STABLE'] database: [pgsql, mariadb] steps: diff --git a/CHANGES.md b/CHANGES.md index cb878b8..2d7d190 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,10 @@ moodle-tool_selfsignuphardlifecycle Changes ------- +### Unreleased + +* 2024-07-28 - Prepare compatibility for Moodle 4.1. + ### v3.9-r3 * 2024-07-29 - Add automated release to moodle.org/plugins diff --git a/README.md b/README.md index 82c6cef..70cfb52 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Moodle admin tool to suspend and delete users based on their account creation da Requirements ------------ -This plugin requires Moodle 3.9+ +This plugin requires Moodle 4.1+ Motivation for this plugin diff --git a/version.php b/version.php index 7ccd321..aaa4571 100644 --- a/version.php +++ b/version.php @@ -27,6 +27,6 @@ $plugin->component = 'tool_selfsignuphardlifecycle'; $plugin->version = 2022030106; $plugin->release = 'v3.9-r3'; -$plugin->requires = 2020061500; -$plugin->supported = [39, 39]; +$plugin->requires = 2022112800; +$plugin->supported = [401, 401]; $plugin->maturity = MATURITY_STABLE;