mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Merge branch 'wip-MDL-33837-master' of git://github.com/marinaglancy/moodle
This commit is contained in:
commit
66dd9e8ad4
@ -230,6 +230,7 @@ switch ($action) {
|
||||
$record->timecreated = $now;
|
||||
$record->timemodified = $now;
|
||||
$record->userid = $USER->id;
|
||||
$record->sortorder = 0;
|
||||
|
||||
// If file is already a reference, set $source = file source, $repo = file repository
|
||||
if ($repo->has_moodle_files()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user