From b3caa84446deeaaf12669a462de661ffef2484a4 Mon Sep 17 00:00:00 2001 From: falcon Date: Fri, 30 Nov 2012 23:39:44 +0100 Subject: [PATCH] Fix function naming issue --- h5p.classes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/h5p.classes.php b/h5p.classes.php index 37ff1df..ede62ec 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -492,7 +492,7 @@ class h5pSaver { 'mainVersion' => key($this->h5pC->librariesJsonData[$preloadedDependency['machineName']]), 'preloaded' => $dynamic ? 0 : 1, ); - $this->saveLibraryUsage($librariesInUse, end($this->h5pC->librariesJsonData[$preloadedDependency['machineName']]), $dynamic); + $this->getLibraryUsage($librariesInUse, end($this->h5pC->librariesJsonData[$preloadedDependency['machineName']]), $dynamic); } } if (isset($jsonData['dynamicDependencies'])) { @@ -503,7 +503,7 @@ class h5pSaver { 'preloaded' => 0, ); } - $this->saveLibraryUsage($librariesInUse, end($this->h5pC->librariesJsonData[$dynamicDependency['machineName']]), TRUE); + $this->getLibraryUsage($librariesInUse, end($this->h5pC->librariesJsonData[$dynamicDependency['machineName']]), TRUE); } } }