From f4c315bb404e8553b512c02ddda601a13af0008b Mon Sep 17 00:00:00 2001 From: Elke Kreim <elke.kreim@hs-hannover.de> Date: Wed, 21 Dec 2022 12:54:14 +0100 Subject: [PATCH] Change applicable formats and version --- block_hshcourselist.php | 6 ++++-- version.php | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/block_hshcourselist.php b/block_hshcourselist.php index 7d599b9..2c43a94 100644 --- a/block_hshcourselist.php +++ b/block_hshcourselist.php @@ -35,9 +35,11 @@ class block_hshcourselist extends block_base { public function applicable_formats() { return (array( 'all' => false, - 'site' => true, + 'admin' => false, + 'course-view' => false, + 'mod' => false, 'my' => true, - 'course-index' => true + 'site-index' => false, )); } diff --git a/version.php b/version.php index cc7a118..cfbba12 100644 --- a/version.php +++ b/version.php @@ -23,7 +23,9 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ +defined('MOODLE_INTERNAL') || die(); +$plugin->version = 2022122000; +$plugin->requires = 2022112800.00 ; // Moodle 4.1 $plugin->component = 'block_hshcourselist'; -$plugin->version = 2019082302; -$plugin->requires = 2016112900; \ No newline at end of file +$plugin->release = 'hsh_v4.1.0'; -- GitLab