Changeset 6737 for trunk


Ignore:
Timestamp:
07/08/12 22:26:00 (12 years ago)
Author:
cristiano
Message:

Ticket #2788 - Erro no processo de update de modulos , chamando funções desnecessarias

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/class.setup_process.inc.php

    r1321 r6737  
    737737                                                                } 
    738738                                                        } 
    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(); 
     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(); 
    744744                                                                 
    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                                                        // } 
    756756                                                        else 
    757757                                                        {                                                                
Note: See TracChangeset for help on using the changeset viewer.