Merge branch 'MDL-78904-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

This commit is contained in:
Huong Nguyen 2023-08-09 11:43:24 +07:00
commit efdf0e48c8
No known key found for this signature in database
GPG Key ID: 40D88AB693A3E72A

View File

@ -55,14 +55,11 @@ $PAGE->set_heading($course->fullname);
echo $OUTPUT->header();
$currenttab = 'repositories';
require('tabs.php');
echo $OUTPUT->heading($configstr);
echo $OUTPUT->box_start();
$params = array();
$params['context'] = $coursecontext;
$params['context'] = [$coursecontext];
$params['currentcontext'] = $PAGE->context;
$params['userid'] = $USER->id;
if (!$instances = repository::get_instances($params)) {