MDL-67192 core_h5p: remove redundant assignment

This commit is contained in:
Víctor Déniz Falcón
2020-02-10 08:40:13 +00:00
parent a23969a5fa
commit fe9bb50cb5
+1 -1
View 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;
}
}