Commit 6ea4002c authored by paalj's avatar paalj

Update php lib

parent 89b5ddad
......@@ -5,7 +5,7 @@
"homepage": "http://drupal.org/project/h5p",
"license": "GPL-2.0+",
"require": {
"h5p/h5p-core": "1.23.0",
"h5p/h5p-core": "1.23.1",
"h5p/h5p-editor": "1.23.0"
},
"minimum-stability": "RC"
......
......@@ -4,20 +4,20 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"content-hash": "ce60a706c4866f6e8a87ebee8824c784",
"content-hash": "906907cad043f2c667344db1bceec369",
"packages": [
{
"name": "h5p/h5p-core",
"version": "1.23.0",
"version": "1.23.1",
"source": {
"type": "git",
"url": "https://github.com/h5p/h5p-php-library.git",
"reference": "8ceb77e8812af96debe1eeeef3bf4523304ede5f"
"reference": "7bc8666f309220a0eb93bca49aaa741bb013b26a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/h5p/h5p-php-library/zipball/8ceb77e8812af96debe1eeeef3bf4523304ede5f",
"reference": "8ceb77e8812af96debe1eeeef3bf4523304ede5f",
"url": "https://api.github.com/repos/h5p/h5p-php-library/zipball/7bc8666f309220a0eb93bca49aaa741bb013b26a",
"reference": "7bc8666f309220a0eb93bca49aaa741bb013b26a",
"shasum": ""
},
"require": {
......@@ -61,7 +61,7 @@
"interactive",
"quiz"
],
"time": "2019-08-15T11:26:32+00:00"
"time": "2019-08-15T19:15:55+00:00"
},
{
"name": "h5p/h5p-editor",
......
[
{
"name": "h5p/h5p-core",
"version": "1.23.0",
"version_normalized": "1.23.0.0",
"version": "1.23.1",
"version_normalized": "1.23.1.0",
"source": {
"type": "git",
"url": "https://github.com/h5p/h5p-php-library.git",
"reference": "8ceb77e8812af96debe1eeeef3bf4523304ede5f"
"reference": "7bc8666f309220a0eb93bca49aaa741bb013b26a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/h5p/h5p-php-library/zipball/8ceb77e8812af96debe1eeeef3bf4523304ede5f",
"reference": "8ceb77e8812af96debe1eeeef3bf4523304ede5f",
"url": "https://api.github.com/repos/h5p/h5p-php-library/zipball/7bc8666f309220a0eb93bca49aaa741bb013b26a",
"reference": "7bc8666f309220a0eb93bca49aaa741bb013b26a",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
},
"time": "2019-08-15T11:26:32+00:00",
"time": "2019-08-15T19:15:55+00:00",
"type": "library",
"installation-source": "source",
"autoload": {
......
......@@ -1647,8 +1647,11 @@ class H5PStorage {
$library_ids[] = $library['libraryId'];
}
// Make sure libraries dependencies, parameter filtering and export files gets regenerated for all content who uses these libraries.
$this->h5pF->clearFilteredParameters($library_ids);
if (!empty($library_ids)) {
$this->h5pF->clearFilteredParameters($library_ids);
}
// Tell the user what we've done.
if ($newOnes && $oldOnes) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment