diff --git a/CHANGELOG.md b/CHANGELOG.md index 31e8236..86e592b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org). ## [Unreleased] ### Changed +## [1.0.1] - 2021-08-04 +### Fixed +- Fixed erroneous override of Admin pages urls. + ## [1.0.0] - 2021-08-02 ### Added - Configurable toolbar controls with the help of templates. @@ -41,7 +45,8 @@ and this project adheres to [Semantic Versioning](https://semver.org). ### Added - -[Unreleased]: https://github.com/KQMATH/moodle-qtype_shortmath/compare/v1.0.0...HEAD +[Unreleased]: https://github.com/KQMATH/moodle-qtype_shortmath/compare/v1.0.1...HEAD +[1.0.1]: https://github.com/KQMATH/moodle-qtype_shortmath/compare/v1.0.0...v1.0.1 [1.0.0]: https://github.com/KQMATH/moodle-qtype_shortmath/compare/v0.4.2...v1.0.0 [0.4.2]: https://github.com/KQMATH/moodle-qtype_shortmath/compare/v0.4.1...v0.4.2 [0.4.1]: https://github.com/KQMATH/moodle-qtype_shortmath/compare/v0.4.0...v0.4.1 diff --git a/settings.php b/settings.php index 37453b5..0f85389 100644 --- a/settings.php +++ b/settings.php @@ -26,12 +26,9 @@ defined('MOODLE_INTERNAL') || die(); -$PAGE->set_url('/admin/settings.php', ['section' => 'qtypesettingshortmath']); - -if ($hassiteconfig) { +if ($ADMIN->fulltree) { $menu = []; - // Get all configuration templates from database. $templates = $DB->get_records('qtype_shortmath_templates', null, 'id', 'id, name'); foreach ($templates as $template) { diff --git a/version.php b/version.php index 598de22..0360bf9 100644 --- a/version.php +++ b/version.php @@ -27,8 +27,8 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2021080200; +$plugin->version = 2021080400; $plugin->requires = 2018051700; // Moodle version 3.5. $plugin->component = 'qtype_shortmath'; $plugin->maturity = MATURITY_STABLE; -$plugin->release = '1.0.0'; +$plugin->release = '1.0.1';