From 1fa56fad90cac244a38c8eb596171e41eb7c881a Mon Sep 17 00:00:00 2001 From: falcon Date: Sat, 15 Dec 2012 15:45:29 +0100 Subject: [PATCH] Add todo items --- h5p.classes.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/h5p.classes.php b/h5p.classes.php index 0749d86..631f48b 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -504,6 +504,11 @@ class h5pSaver { // @todo: Handle cases where we have a copy of this library, but of an older version } + elseif ($this->h5pF->isPatchedLibrary($key, key($value))) { + // TODO: change the librariesJsonData to be two dim instead of three + // TODO: Replace library + // TODO: Refactor this code and the previous block + } } $current_path = $this->h5pF->getUploadedH5pFolderPath() . DIRECTORY_SEPARATOR . 'content'; $destination_path = $this->h5pF->getH5pPath() . DIRECTORY_SEPARATOR . 'content' . DIRECTORY_SEPARATOR . $contentId;