Options are optional.
parent
c40d273704
commit
36558b0846
|
@ -1417,7 +1417,7 @@ class H5PStorage {
|
||||||
* TRUE if one or more libraries were updated
|
* TRUE if one or more libraries were updated
|
||||||
* FALSE otherwise
|
* FALSE otherwise
|
||||||
*/
|
*/
|
||||||
public function updatePackage($contentId, $contentMainId = NULL, $options) {
|
public function updatePackage($contentId, $contentMainId = NULL, $options = array()) {
|
||||||
$this->deletePackage($contentId);
|
$this->deletePackage($contentId);
|
||||||
return $this->savePackage($contentId, $contentMainId, FALSE, $options);
|
return $this->savePackage($contentId, $contentMainId, FALSE, $options);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue