From 92eb58bbebbed43f1080d4b1b155c2f97f95bd2b Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Wed, 20 Jul 2016 15:33:49 -0500 Subject: [PATCH] Remove newscorm directory for migration - refs #8331 --- main/install/update-files-1.10.0-1.11.0.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/install/update-files-1.10.0-1.11.0.inc.php b/main/install/update-files-1.10.0-1.11.0.inc.php index 45c23d2e84..990001fb85 100644 --- a/main/install/update-files-1.10.0-1.11.0.inc.php +++ b/main/install/update-files-1.10.0-1.11.0.inc.php @@ -24,12 +24,12 @@ if (defined('SYSTEM_INSTALLATION')) { // The main/exercice path was moved to main/exercise, so the code from 1.11 // should just create the new directory, and we should delete the previous // one to avoid the web server to use the old - $exercisePath = api_get_path(SYS_CODE_PATH).'exercice'; + $exercisePath = api_get_path(SYS_CODE_PATH) . 'exercice'; if (is_dir($exercisePath)) { @rrmdir($exercisePath); } // Same with main/newscorm, renamed main/lp - $lpPath = api_get_path(SYS_CODE_PATH).'lp'; + $lpPath = api_get_path(SYS_CODE_PATH) . 'newscorm'; if (is_dir($lpPath)) { @rrmdir($lpPath); }