Skip to content

Commit

Permalink
Documentation tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
trampgeek committed Nov 15, 2024
1 parent ad7c7ce commit 81cbe94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/combinator_grader_outcome.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@ private function save_files($files) {
'filepath' => '/', // File path within the context.
'filename' => $extendedfilename,
];

// Create the file in Moodle's filesystem.
$fs = get_file_storage();
$file = $fs->create_file_from_string($fileinfo, $decoded);

// Generate a URL to the saved file.
// Generate a @@PLUGINFILE@@ URL to the saved file.
$url = '@@PLUGINFILE@@/' . $extendedfilename;
$fileurls[$filename] = $url;
}
Expand Down

0 comments on commit 81cbe94

Please sign in to comment.