From ee0e97e17b04830424757cc2dc2b63c660df71ae Mon Sep 17 00:00:00 2001 From: Paal Joergensen Date: Mon, 27 Aug 2018 13:52:33 +0200 Subject: [PATCH] HFP-1871 Skip loading semantics for addons --- h5p.classes.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/h5p.classes.php b/h5p.classes.php index 04249fc..22bf9ea 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -3311,11 +3311,6 @@ class H5PContentValidator { * Add Addon library. */ public function addon($library) { - // We need to run loadLibrarySemantics even if we have loadeed semantics from db, in case of - // 1) development foler - // 2) Invocation of semantics alter hook - $library['semantics'] = $this->h5pC->loadLibrarySemantics($library['machineName'], $library['majorVersion'], $library['minorVersion']); - $depKey = 'preloaded-' . $library['machineName']; $this->dependencies[$depKey] = array( 'library' => $library,