Fixed cache invalidation bug.
parent
2053b43024
commit
27a5c4e2a7
|
@ -1036,10 +1036,10 @@ class H5PStorage {
|
||||||
if (isset($library['editorDependencies'])) {
|
if (isset($library['editorDependencies'])) {
|
||||||
$this->h5pF->saveLibraryDependencies($library['libraryId'], $library['editorDependencies'], 'editor');
|
$this->h5pF->saveLibraryDependencies($library['libraryId'], $library['editorDependencies'], 'editor');
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Make sure libraries dependencies, parameter filtering and export files gets regenerated for all content who uses this library.
|
// Make sure libraries dependencies, parameter filtering and export files gets regenerated for all content who uses this library.
|
||||||
$this->h5pF->invalidateContentCache($library['libraryId']);
|
$this->h5pF->invalidateContentCache($library['libraryId']);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$skipContent) {
|
if (!$skipContent) {
|
||||||
|
|
Loading…
Reference in New Issue