Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Commit 6945542

Browse files
author
Matthias Kollenbroich
authored
Removed Opencast instance settings without instance id (for default Opencast instance)
1 parent 251b8d4 commit 6945542

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

moodle/init_moodle.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
cli_writeln('Configure settings for tool_opencast');
2424
set_config('ocinstances', '[{"id": 1, "name":"Default", "isvisible": 1, "isdefault": 1}]',
2525
'tool_opencast');
26-
set_config('apiurl', 'http://opencast:8080', 'tool_opencast');
27-
set_config('apiusername', 'moodle', 'tool_opencast');
28-
set_config('apipassword', 'moodle', 'tool_opencast');
29-
set_config('connecttimeout', 1, 'tool_opencast');
26+
set_config('apiurl_1', 'http://opencast:8080', 'tool_opencast');
27+
set_config('apiusername_1', 'moodle', 'tool_opencast');
28+
set_config('apipassword_1', 'moodle', 'tool_opencast');
29+
set_config('connecttimeout_1', 1, 'tool_opencast');
3030

3131
cli_writeln('Configure settings for block_opencast');
3232
set_config('uploadworkflow_1', 'schedule-and-upload', 'block_opencast');

0 commit comments

Comments
 (0)