Changeset 6741
- Timestamp:
- 07/09/12 12:11:47 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.4/phpgwapi/inc/class.setup_process.inc.php
r1321 r6741 737 737 } 738 738 } 739 elseif ($GLOBALS['phpgw_setup']->alessthanb($value,$currentver))740 { 741 if($DEBUG) { echo '<br>process->upgrade(): running baseline delta only: ' . $function . '...'; } 742 $GLOBALS['phpgw_setup']->oProc->m_bDeltaOnly = True; 743 739 // elseif ($GLOBALS['phpgw_setup']->alessthanb($value,$currentver)) 740 // { 741 // if($DEBUG) { echo '<br>process->upgrade(): running baseline delta only: ' . $function . '...'; } 742 // $GLOBALS['phpgw_setup']->oProc->m_bDeltaOnly = True; 743 // $success = $function(); 744 744 745 // is the next update the one we need?746 if ($success && $test[$x+1] != $success && 747 ($num = array_search($success,$test)) !== False && $num !== null) 748 { 749 // do we have the needed update somewhere else in the row? 750 // if yes, position the array-pointer just before that update and continue 751 reset($test); 752 while((list($x,$value) = each($test)) && $x < $num-1); 753 continue; 754 } 755 745 // // is the next update the one we need? 746 // if ($success && $test[$x+1] != $success && 747 // ($num = array_search($success,$test)) !== False && $num !== null) 748 // { 749 // // do we have the needed update somewhere else in the row? 750 // // if yes, position the array-pointer just before that update and continue 751 // reset($test); 752 // while((list($x,$value) = each($test)) && $x < $num-1); 753 // continue; 754 // } 755 // } 756 756 else 757 757 {
Note: See TracChangeset
for help on using the changeset viewer.