diff --git a/README.md b/README.md index 81d640f..9b907bc 100644 --- a/README.md +++ b/README.md @@ -10,17 +10,10 @@ input, bug reports and beta testing * Author: Luuk Verhoeven, [MFreak.nl](https://MFreak.nl/) * Author: Gemma Lesterhuis, [Lesterhuis Training & Consultancy](https://ltnc.nl/) -* Min. required: Moodle 3.5.x -* Supports PHP: 7.2 - -![Moodle35](https://img.shields.io/badge/moodle-3.5-brightgreen.svg) -![Moodle36](https://img.shields.io/badge/moodle-3.6-brightgreen.svg) -![Moodle37](https://img.shields.io/badge/moodle-3.7-brightgreen.svg) -![Moodle38](https://img.shields.io/badge/moodle-3.8-brightgreen.svg) -![Moodle39](https://img.shields.io/badge/moodle-3.9-brightgreen.svg) -![Moodle310](https://img.shields.io/badge/moodle-3.10-brightgreen.svg) -![Moodle400](https://img.shields.io/badge/moodle-4.0-brightgreen.svg) -![Moodle401](https://img.shields.io/badge/moodle-4.1-brightgreen.svg) +* Min. required: Moodle 4.2 +* Supports PHP: 7.4 + +![Moodle402](https://img.shields.io/badge/moodle-4.2-brightgreen.svg) ## Screens @@ -41,6 +34,14 @@ input, bug reports and beta testing 3. Go to Site Administrator > Notification 4. Install the plugin + +### Changelog + +##### 4.2 (27-10-2023) +* Updated external_api namespace loading from core_external. +* No longer backwards compatible. + + ## Security If you discover any security related issues, please email [luuk@MFreak.nl](mailto:luuk@MFreak.nl) instead of using the diff --git a/classes/external.php b/classes/external.php index ce07a1a..bfe7eb0 100644 --- a/classes/external.php +++ b/classes/external.php @@ -15,7 +15,7 @@ // along with Moodle. If not, see . /** - * External libary + * External library * * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @@ -30,10 +30,10 @@ use context_block; use context_user; use dml_exception; -use external_api; -use external_function_parameters; -use external_single_structure; -use external_value; +use core_external\external_api; +use core_external\external_function_parameters; +use core_external\external_single_structure; +use core_external\external_value; use moodle_exception; use required_capability_exception; diff --git a/version.php b/version.php index 189ad01..a7998df 100644 --- a/version.php +++ b/version.php @@ -29,5 +29,5 @@ $plugin->version = 2023112200; $plugin->requires = 2017111300; $plugin->component = 'block_user_favorites'; -$plugin->release = '4.1.3'; +$plugin->release = '4.2.0'; $plugin->maturity = MATURITY_STABLE;