Skip to content

Commit

Permalink
Support Moodle 39
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Nguyen committed Oct 17, 2024
1 parent ca1958c commit 24a155e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ jobs:
ci:
uses: catalyst/catalyst-moodle-workflows/.github/workflows/ci.yml@main
with:
extra_plugin_runners: 'moodle-plugin-ci add-plugin catalyst/moodle-tool_lifecycle'
extra_plugin_runners: 'moodle-plugin-ci add-plugin --branch MOODLE_39_STABLE_catalyst catalyst/moodle-tool_lifecycle'
6 changes: 0 additions & 6 deletions classes/lifecycle/step.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ public function instance_settings() {
new instance_setting('backup_groups', PARAM_BOOL, true),
new instance_setting('backup_competencies', PARAM_BOOL, true),
new instance_setting('backup_contentbankcontent', PARAM_BOOL, true),
new instance_setting('backup_legacyfiles', PARAM_BOOL, true),
];
}

Expand Down Expand Up @@ -253,11 +252,6 @@ public function extend_add_instance_form_definition($mform) {
$mform->addElement('advcheckbox', 'backup_contentbankcontent', get_string('generalcontentbankcontent', 'backup'));
$mform->setType('backup_contentbankcontent', PARAM_BOOL);
$mform->setDefault('backup_contentbankcontent', true);

// Legacy files.
$mform->addElement('advcheckbox', 'backup_legacyfiles', get_string('generallegacyfiles', 'backup'));
$mform->setType('backup_legacyfiles', PARAM_BOOL);
$mform->setDefault('backup_legacyfiles', true);
}

/**
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
defined('MOODLE_INTERNAL') || die();

$plugin->version = 2023100400;
$plugin->requires = 2022041200;
$plugin->requires = 2020061500;
$plugin->component = 'tool_lcbackupcoursestep';

$plugin->dependencies = [
'tool_lifecycle' => 2023050201,
];

$plugin->supported = [401, 405];
$plugin->supported = [39, 310];

0 comments on commit 24a155e

Please sign in to comment.