diff --git a/block_hshcourselist.php b/block_hshcourselist.php index 7d599b957066a0248771614e9569bd98010abb82..2c43a94abfa5f8de41010b219ccbfa2e8326ed71 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 cc7a118dc5390ad863a7b751988d10ea7e3ddec1..cfbba12fafdd0798c754f3f9089f693e1ab46498 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';