Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/86bw7m38d-Moodl42_api_class'
Browse files Browse the repository at this point in the history
  • Loading branch information
luukverhoeven committed Nov 22, 2023
2 parents 95f65b4 + 2ee205c commit 38c8d70
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
23 changes: 12 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 [[email protected]](mailto:[email protected]) instead of using the
Expand Down
10 changes: 5 additions & 5 deletions classes/external.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* External libary
* External library
*
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*
Expand All @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 38c8d70

Please sign in to comment.