Skip to content

Commit

Permalink
Fix codechecker failures and correct version bump for 4.2 brnach.
Browse files Browse the repository at this point in the history
  • Loading branch information
danmarsden committed Jun 18, 2024
1 parent 6b7917f commit c16be9f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 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
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
defined('MOODLE_INTERNAL') || die();

$plugin->component = 'mod_subcourse';
$plugin->release = 2023122200;
$plugin->version = 2024061400;
$plugin->release = 2023122201;
$plugin->version = 2023122201;
$plugin->maturity = MATURITY_STABLE;
$plugin->requires = 2023042400; // Requires 4.2
$plugin->supported = [402, 403];

0 comments on commit c16be9f

Please sign in to comment.