HFP-1871 Skip loading semantics for addons

HFP-2095-Fix-table-styling
Paal Joergensen 2018-08-27 13:52:33 +02:00
parent 6c4f904079
commit ee0e97e17b
1 changed files with 0 additions and 5 deletions

View File

@ -3311,11 +3311,6 @@ class H5PContentValidator {
* Add Addon library. * Add Addon library.
*/ */
public function 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']; $depKey = 'preloaded-' . $library['machineName'];
$this->dependencies[$depKey] = array( $this->dependencies[$depKey] = array(
'library' => $library, 'library' => $library,