diff --git a/lib.php b/lib.php index 427de9e..f489b2c 100644 --- a/lib.php +++ b/lib.php @@ -438,4 +438,4 @@ function subcourse_update_grades($subcourse, $userid=0, $nullifnone=true) { } else { return subcourse_grade_item_update($subcourse); } -} \ No newline at end of file +} diff --git a/settings.php b/settings.php index 009f4f9..f0772df 100644 --- a/settings.php +++ b/settings.php @@ -46,7 +46,7 @@ get_string('settings:coursepageprintgrade_desc', 'mod_subcourse'), 1 )); - + $settings->add(new admin_setting_configcheckbox( 'mod_subcourse/displayhiddencourses', get_string('settings:displayhiddencourses', 'mod_subcourse'), diff --git a/tests/output_mobile_test.php b/tests/output_mobile_test.php index d508dc8..1ebdb12 100644 --- a/tests/output_mobile_test.php +++ b/tests/output_mobile_test.php @@ -23,8 +23,6 @@ namespace mod_subcourse; -defined('MOODLE_INTERNAL') || die(); - /** * Unit tests for the methods provided by the {@see \mod_subcourse\output\mobile} class. * diff --git a/version.php b/version.php index e7f66dc..2f1ddd1 100644 --- a/version.php +++ b/version.php @@ -28,5 +28,5 @@ $plugin->release = 2023103001; $plugin->version = 2023103001; $plugin->maturity = MATURITY_STABLE; -$plugin->requires = 2022112800; // Requires 4.1 +$plugin->requires = 2022112800; // Requires 4.1. $plugin->supported = [401, 401];