Options are optional.

redesign-copyrights
Frode Petterson 2015-06-15 16:11:11 +02:00
parent c40d273704
commit 36558b0846
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }