Changeset 21103


Ignore:
Timestamp:
03/02/13 22:02:42 (6 years ago)
Author:
plg
Message:

feature 2856: upgrade script to version 2.5

Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/install/upgrade_2.3.0.php

    r19703 r21103  
    122122 
    123123// now we upgrade from 2.4.0 
    124 // include_once(PHPWG_ROOT_PATH.'install/upgrade_2.4.0.php'); 
     124include_once(PHPWG_ROOT_PATH.'install/upgrade_2.4.0.php'); 
    125125?> 
  • trunk/upgrade.php

    r19703 r21103  
    323323  $current_release = '2.2.0'; 
    324324} 
     325else if (!in_array('rotation', $columns_of[PREFIX_TABLE.'images'])) 
     326{ 
     327  $current_release = '2.3.0'; 
     328} 
    325329else 
    326330{ 
     
    332336  $applied_upgrades = array_from_query($query, 'id'); 
    333337 
    334   if (!in_array(127, $applied_upgrades)) 
    335   { 
    336     $current_release = '2.3.0'; 
     338  if (!in_array(134, $applied_upgrades)) 
     339  { 
     340    $current_release = '2.4.0'; 
    337341  } 
    338342  else 
Note: See TracChangeset for help on using the changeset viewer.