From 46d772cb511cf4fc6deaaf398d52aed8031b986f Mon Sep 17 00:00:00 2001 From: Paal Joergensen Date: Wed, 31 May 2017 11:17:28 +0200 Subject: [PATCH] Added missing parameter in getLibraryUsage [HFP-1067] --- h5p.classes.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/h5p.classes.php b/h5p.classes.php index 1715071..32aeb38 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -310,12 +310,14 @@ interface H5PFrameworkInterface { * * @param int $libraryId * Library identifier + * @param boolean $skipContent + * Flag to indicate if content usage should be skipped * @return array * Associative array containing: * - content: Number of content using the library * - libraries: Number of libraries depending on the library */ - public function getLibraryUsage($libraryId); + public function getLibraryUsage($libraryId, $skipContent = FALSE); /** * Loads a library