install/schemas/upgrade/migration/1.0-1.1.php
changeset 418 322fa0c91303
parent 377 bb3e6c3bd4f4
child 942 18db38c70a41
--- a/install/schemas/upgrade/migration/1.0-1.1.php	Tue Feb 12 07:38:52 2008 -0500
+++ b/install/schemas/upgrade/migration/1.0-1.1.php	Tue Feb 12 07:44:16 2008 -0500
@@ -37,7 +37,13 @@
   $lang_local->import($lang_dir . "user.json");
   $lang_local->import($lang_dir . "admin.json");
   
-  setConfig('enano_version', installer_enano_version());
+  // This doesn't set to installer_enano_version() because it only
+  // migrates the database from 1.0.x to 1.1.x status and runs the
+  // core logic required to transform a 1.0.x installation into
+  // a 1.1.x installation. Thus, when upgrading, the upgrade script
+  // still needs to run all later upgrade schema files in addition
+  // to this migration code.
+  setConfig('enano_version', '1.1.1');
   
   return true;
 }