Add update-configuration to upgrade process from 1.10 to 1.11 to update the version number

remotes/angel/1.11.x
Yannick Warnier 8 years ago
parent 6af13c1210
commit 8d72c1be07
  1. 5
      main/install/install.lib.php

@ -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 {

Loading…
Cancel
Save