Removed unused changes, fixed indentation
pull/50/head
Thomas Horn Sivertsen 2018-06-18 11:24:04 +02:00
parent a59640672d
commit 930f85e0fb
2 changed files with 8 additions and 9 deletions

View File

@ -2109,9 +2109,8 @@ class H5PCore {
// Using content dependencies // Using content dependencies
foreach ($dependencies as $dependency) { foreach ($dependencies as $dependency) {
$libraryName = H5PCore::libraryToString($dependency, TRUE);
if (isset($dependency['path']) === FALSE) { if (isset($dependency['path']) === FALSE) {
$dependency['path'] = 'libraries/' . $libraryName; $dependency['path'] = 'libraries/' . H5PCore::libraryToString($dependency, TRUE);
$dependency['preloadedJs'] = explode(',', $dependency['preloadedJs']); $dependency['preloadedJs'] = explode(',', $dependency['preloadedJs']);
$dependency['preloadedCss'] = explode(',', $dependency['preloadedCss']); $dependency['preloadedCss'] = explode(',', $dependency['preloadedCss']);
} }