|
|
|
@ -3119,7 +3119,7 @@ function migrateSwitch($fromVersion, $manager, $processFiles = true) |
|
|
|
|
$connection->executeQuery("UPDATE settings_current SET selected_value = '1.10.0' WHERE variable = 'chamilo_database_version'"); |
|
|
|
|
|
|
|
|
|
if ($processFiles) { |
|
|
|
|
|
|
|
|
|
$fromVersionShort = '1.9'; |
|
|
|
|
include __DIR__.'/update-files-1.9.0-1.10.0.inc.php'; |
|
|
|
|
// Only updates the configuration.inc.php with the new version |
|
|
|
|
include __DIR__.'/update-configuration.inc.php'; |
|
|
|
@ -3242,7 +3242,10 @@ function migrateSwitch($fromVersion, $manager, $processFiles = true) |
|
|
|
|
$connection->executeQuery($sql); |
|
|
|
|
|
|
|
|
|
if ($processFiles) { |
|
|
|
|
$fromVersionShort = '1.10'; |
|
|
|
|
include __DIR__.'/update-files-1.10.0-1.11.0.inc.php'; |
|
|
|
|
// Only updates the configuration.inc.php with the new version |
|
|
|
|
include __DIR__.'/update-configuration.inc.php'; |
|
|
|
|
} |
|
|
|
|
error_log('Upgrade 1.11.x process concluded! ('.date('Y-m-d H:i:s').')'); |
|
|
|
|
} else { |
|
|
|
|