Skip to content

Commit 183c4fb

Browse files
committed
LT-326 - Moodle 4.5 compatibility.
1 parent 636e038 commit 183c4fb

40 files changed

+304
-76
lines changed

.github/workflows/moodle-ci.yml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ on: [push, pull_request]
44

55
jobs:
66
test:
7-
runs-on: ubuntu-18.04
7+
runs-on: ubuntu-22.04
88

99
services:
1010
postgres:
11-
image: postgres:12.7
11+
image: postgres:13
1212
env:
1313
POSTGRES_USER: 'postgres'
1414
POSTGRES_HOST_AUTH_METHOD: 'trust'
1515
ports:
1616
- 5432:5432
1717
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3
1818
mariadb:
19-
image: mariadb:10.5
19+
image: mariadb:10.6.7
2020
env:
2121
MYSQL_USER: 'root'
2222
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
@@ -28,21 +28,17 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
include:
31-
- php: '8.0'
32-
moodle-branch: 'MOODLE_311_STABLE'
31+
- php: '8.3'
32+
moodle-branch: 'MOODLE_405_STABLE'
3333
database: 'pgsql'
34-
35-
- php: '7.4'
36-
moodle-branch: 'MOODLE_311_STABLE'
34+
- php: '8.2'
35+
moodle-branch: 'MOODLE_405_STABLE'
3736
database: 'mariadb'
38-
- php: '7.4'
39-
moodle-branch: 'MOODLE_311_STABLE'
37+
- php: '8.0'
38+
moodle-branch: 'MOODLE_400_STABLE'
4039
database: 'pgsql'
4140
- php: '7.4'
42-
moodle-branch: 'MOODLE_310_STABLE'
43-
database: 'pgsql'
44-
- php: '7.3'
45-
moodle-branch: 'MOODLE_39_STABLE'
41+
moodle-branch: 'MOODLE_400_STABLE'
4642
database: 'mariadb'
4743

4844
steps:

amd/build/learningtoolsinfo.min.js

Lines changed: 10 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

amd/build/learningtoolsinfo.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

amd/src/learningtoolsinfo.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
/**
1717
* Learningtools define js.
18+
* @category Classes - autoloading
1819
* @module local_learningtools
1920
* @copyright 2021, bdecent gmbh bdecent.de
2021
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

classes/plugininfo/ltool.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function load_settings(part_of_admin_tree $adminroot, $parentnodename, $h
8282
return;
8383
}
8484

85-
if (!$hassiteconfig or !file_exists($this->full_path('settings.php'))) {
85+
if (!$hassiteconfig || !file_exists($this->full_path('settings.php'))) {
8686
return;
8787
}
8888

0 commit comments

Comments
 (0)