Make editor work again

semantics-font
Svein-Tore Griff With 2015-03-24 19:29:28 +01:00
parent ef7a31d2e1
commit 065ee4e8a2
2 changed files with 1 additions and 4 deletions

View File

@ -86,7 +86,7 @@ class H5PDevelopment {
$library['libraryId'] = $this->h5pF->getLibraryId($library['machineName'], $library['majorVersion'], $library['minorVersion']);
$this->h5pF->saveLibraryData($library, $library['libraryId'] === FALSE);
$library['path'] = $libraryPath;
$library['path'] = $path . '/' . $contents[$i];
$this->libraries[H5PDevelopment::libraryToString($library['machineName'], $library['majorVersion'], $library['minorVersion'])] = $library;
}
@ -139,7 +139,6 @@ class H5PDevelopment {
*/
public function getSemantics($name, $majorVersion, $minorVersion) {
$library = H5PDevelopment::libraryToString($name, $majorVersion, $minorVersion);
if (isset($this->libraries[$library]) === FALSE) {
return NULL;
}

View File

@ -1785,8 +1785,6 @@ class H5PCore {
if ($type === 'preloadedCss' && (isset($dependency['dropCss']) && $dependency['dropCss'] === '1')) {
return;
}
dpm($prefix);
dpm($dependency['path']);
foreach ($dependency[$type] as $file) {
$assets[] = (object) array(
'path' => $prefix . $dependency['path'] . '/' . trim(is_array($file) ? $file['path'] : $file),