From fe9bb50cb5dc973a172e453a16c1aedb210fe20f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20D=C3=A9niz=20Falc=C3=B3n?= Date: Wed, 5 Feb 2020 15:22:27 +0000 Subject: [PATCH] MDL-67192 core_h5p: remove redundant assignment --- h5p/classes/core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/h5p/classes/core.php b/h5p/classes/core.php index 631e0e24b2b..1458372c9af 100644 --- a/h5p/classes/core.php +++ b/h5p/classes/core.php @@ -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; } }