Fixed cache invalidation bug.

namespaces
Frode Petterson 2014-05-27 14:12:54 +02:00
parent 2053b43024
commit 27a5c4e2a7
1 changed files with 3 additions and 3 deletions

View File

@ -1036,10 +1036,10 @@ class H5PStorage {
if (isset($library['editorDependencies'])) {
$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.
$this->h5pF->invalidateContentCache($library['libraryId']);
}
// Make sure libraries dependencies, parameter filtering and export files gets regenerated for all content who uses this library.
$this->h5pF->invalidateContentCache($library['libraryId']);
}
if (!$skipContent) {