Upgrade: added 1.0.6pl1 migration support, tarball repository will need to be updated
authorDan
Sat, 19 Dec 2009 15:59:52 -0500
changeset 1189 5721c914bbb0
parent 1188 b746ba22a732
child 1190 fa306d7af9ce
Upgrade: added 1.0.6pl1 migration support, tarball repository will need to be updated
install/schemas/upgrade/1.0.6-1.0.6pl1.sql
install/upgrade.php
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/install/schemas/upgrade/1.0.6-1.0.6pl1.sql	Sat Dec 19 15:59:52 2009 -0500
@@ -0,0 +1,1 @@
+
--- a/install/upgrade.php	Fri Dec 18 22:04:01 2009 -0500
+++ b/install/upgrade.php	Sat Dec 19 15:59:52 2009 -0500
@@ -17,7 +17,7 @@
 
 // The list of versions in THIS AND PREVIOUS branches, in chronological order.
 $enano_versions = array();
-$enano_versions['1.0'] = array('1.0', '1.0.1', '1.0.2b1', '1.0.2', '1.0.3', '1.0.4', '1.0.5', '1.0.6');
+$enano_versions['1.0'] = array('1.0', '1.0.1', '1.0.2b1', '1.0.2', '1.0.3', '1.0.4', '1.0.5', '1.0.6', '1.0.6pl1');
 $enano_versions['1.1'] = array('1.1.1', '1.1.2', '1.1.3', '1.1.4', '1.1.5', '1.1.6', '1.1.7');
 
 // If true, this will do a full langimport instead of only adding new strings.
@@ -42,7 +42,7 @@
 require_once('includes/common.php');
 @ini_set('display_errors', 'on');
 
-if ( in_array(enano_version(), array('1.0RC1', '1.0RC2', '1.0RC3', '1.0', '1.0.1', '1.0.2', '1.0.3', '1.0.4', '1.0.5', '1.0.6', '1.1.1', '1.1.2', '1.1.3', '1.1.4', '1.1.5')) )
+if ( in_array(enano_version(), array('1.1.1', '1.1.2', '1.1.3', '1.1.4', '1.1.5')) || substr(enano_version(), 0, 3) == '1.0' )
   define('ENANO_UPGRADE_USE_AES_PASSWORDS', 1);
 
 // init languages