Skip to content

Commit

Permalink
Fix compatibility with Moodle 4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
timhunt committed Apr 16, 2024
1 parent 0af9a6d commit 22caa95
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
fail-fast: false
matrix:
include:
- php: '8.1'
moodle-branch: 'master'
- php: '8.3'
moodle-branch: 'main'
database: 'pgsql'
- php: '8.2'
moodle-branch: 'MOODLE_403_STABLE'
database: 'pgsql'
- php: '8.1'
moodle-branch: 'MOODLE_402_STABLE'
database: 'pgsql'
database: 'mariadb'
- php: '8.0'
moodle-branch: 'MOODLE_401_STABLE'
database: 'pgsql'
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:

steps:
- name: Check out out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: plugin

Expand Down
4 changes: 4 additions & 0 deletions classes/import_as_version_action_column.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ public function get_name(): string {
return 'importasversion';
}

public function get_menu_position(): int {
return 650;
}

protected function get_url_icon_and_label(\stdClass $question): array {
if (!\question_bank::is_qtype_installed($question->qtype)) {
// It sometimes happens that people end up with junk questions
Expand Down

0 comments on commit 22caa95

Please sign in to comment.