From abec6e551457140450b5ac5ceab48e543920c084 Mon Sep 17 00:00:00 2001 From: Benjamin Walker Date: Mon, 18 Mar 2024 10:34:43 +1000 Subject: [PATCH] Update branch support --- README.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 7ed8502..16dd369 100644 --- a/README.md +++ b/README.md @@ -71,19 +71,6 @@ From the Site Administration Menu, navigate to Plugins->Security Questions->Rese Installation ------------ -### Requirements - -This plugin will work natively with Moodle from version 3.8 onwards, as this is the version that the hooks required for plugin functionality were added into Moodle core, from tracker MDL-66173. If a previous version is used, the commit from MDL-66173 can be backported to a previous installation, and the plugin will be functional. - -``` -git cherry-pick dc25b71d8bb7ad95aea4510666385c74669316ec -``` - -Another requirement is for MDL-60470 to be included in the Moodle installation, which was added in Moodle version 3.7. If this commit is not present, users will not be prompted to set their security questions when they login after plugin setup. -``` -git cherry-pick bf9f255523e5f8feb7cb39067475389ba260ff4e -``` - ### Installation To install the plugin simply drop it into the /path/to/moodle/admin/tool/securityquestions directory. When moodle is accessed it will prompt for installation of the plugin. Press upgrade database now, and the plugin will be installed. @@ -97,8 +84,21 @@ For more instructions on installation, visit [the Moodle Plugin Installation Gui Branches -------- -For all Moodle versions, use the master branch. +| Branch | Moodle version | PHP Version | +| ------------------ | ----------------- | ----------- | +| MOODLE_41_STABLE | Moodle 4.1+ | Php 7.4+ | +| master | Moodle 3.8 - 4.1 | Php 7.1 | + +The master branch will work natively with Moodle from version 3.8 onwards, but has soft support for earlier versions with backports for hooks. If a previous version is used, the commit from MDL-66173 can be backported to a previous installation, and the plugin will be functional. + +``` +git cherry-pick dc25b71d8bb7ad95aea4510666385c74669316ec +``` +Another requirement is for MDL-60470 to be included in the Moodle installation, which was added in Moodle version 3.7. If this commit is not present, users will not be prompted to set their security questions when they login after plugin setup. +``` +git cherry-pick bf9f255523e5f8feb7cb39067475389ba260ff4e +``` Templates ---------