Skip to content
Snippets Groups Projects
Commit 10304d02 authored by Frode Petterson's avatar Frode Petterson
Browse files

Removed unused global

parent 83713d04
No related branches found
No related tags found
No related merge requests found
...@@ -344,8 +344,6 @@ class file_storage implements \H5PFileStorage { ...@@ -344,8 +344,6 @@ class file_storage implements \H5PFileStorage {
* @param \stdClass $context Course Context ID * @param \stdClass $context Course Context ID
*/ */
public function saveFile($file, $contentid, $contextid = null) { public function saveFile($file, $contentid, $contextid = null) {
global $COURSE;
if ($contentid !== 0) { if ($contentid !== 0) {
// Grab cm context // Grab cm context
$cm = \get_coursemodule_from_instance('hvp', $contentid); $cm = \get_coursemodule_from_instance('hvp', $contentid);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment