changeset 1260 | cd72bcd83401 |
parent 1259 | 49db7495f6b8 |
--- a/install/includes/libenanoinstall.php Thu Jul 01 20:24:19 2010 -0400 +++ b/install/includes/libenanoinstall.php Thu Jul 01 20:51:53 2010 -0400 @@ -174,6 +174,13 @@ } } + // cap to target rev + foreach ( $upg_queue as $i => $ver ) + { + if ( $ver > $target_rev ) + unset($upg_queue[$i]); + } + // Perform upgrade foreach ( $upg_queue as $version ) {