MDL-67192 core_h5p: remove redundant assignment
authorVíctor Déniz Falcón <victor@moodle.com>
Wed, 5 Feb 2020 15:22:27 +0000 (15:22 +0000)
committerVíctor Déniz Falcón <victor@moodle.com>
Mon, 10 Feb 2020 08:40:13 +0000 (08:40 +0000)
h5p/classes/core.php

index 631e0e2..1458372 100644 (file)
@@ -197,7 +197,7 @@ class core extends \H5PCore {
             if ($shoulddownload) {
                 $installed['id'] = $this->fetch_content_type($library);
                 if ($installed['id']) {
-                    $installed['name'] = $librarykey = \H5PCore::libraryToString($library);
+                    $installed['name'] = \H5PCore::libraryToString($library);
                     $typesinstalled[] = $installed;
                 }
             }