Skip to content

Commit

Permalink
Fix codechecker failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
danmarsden committed Jun 18, 2024
1 parent 4b00cbe commit 50f2032
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -438,4 +438,4 @@ function subcourse_update_grades($subcourse, $userid=0, $nullifnone=true) {
} else {
return subcourse_grade_item_update($subcourse);
}
}
}
2 changes: 1 addition & 1 deletion settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down
2 changes: 0 additions & 2 deletions tests/output_mobile_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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];

0 comments on commit 50f2032

Please sign in to comment.