Changeset 1835


Ignore:
Timestamp:
12/15/09 10:11:22 (14 years ago)
Author:
niltonneto
Message:

Ticket #802 - Corrigido rotina de atualização dos módulos.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/calendar/setup/tables_update.inc.php

    r1728 r1835  
    6666        function calendar_upgrade2_0_000() 
    6767        { 
     68                $GLOBALS['setup_info']['calendar']['currentver'] = '2.0.001'; 
     69                return $GLOBALS['setup_info']['calendar']['currentver']; 
     70        } 
     71        $test[] = '2.0.001'; 
     72        function calendar_upgrade2_0_001() 
     73        { 
     74                $GLOBALS['setup_info']['calendar']['currentver'] = '2.0.002'; 
     75                return $GLOBALS['setup_info']['calendar']['currentver']; 
     76        } 
     77        $test[] = '2.0.002'; 
     78        function calendar_upgrade2_0_002() 
     79        { 
    6880                $GLOBALS['setup_info']['calendar']['currentver'] = '2.1.000'; 
    6981                return $GLOBALS['setup_info']['calendar']['currentver']; 
  • trunk/expressoMail1_2/setup/tables_update.inc.php

    r1728 r1835  
    9595        $test[] = '2.0.000'; 
    9696        function expressoMail1_2_upgrade2_0_000() { 
     97                $setup_info['expressoMail1_2']['currentver'] = '2.0.001'; 
     98                return $setup_info['expressoMail1_2']['currentver']; 
     99        } 
     100        $test[] = '2.0.001'; 
     101        function expressoMail1_2_upgrade2_0_001() { 
     102                $setup_info['expressoMail1_2']['currentver'] = '2.0.002'; 
     103                return $setup_info['expressoMail1_2']['currentver']; 
     104        }        
     105        $test[] = '2.0.002'; 
     106        function expressoMail1_2_upgrade2_0_002() { 
    97107                $setup_info['expressoMail1_2']['currentver'] = '2.1.000'; 
    98108                return $setup_info['expressoMail1_2']['currentver']; 
  • trunk/news_admin/setup/tables_update.inc.php

    r1728 r1835  
    158158        function news_admin_upgrade2_0_000() 
    159159        { 
     160                $GLOBALS['setup_info']['news_admin']['currentver'] = '2.0.001'; 
     161                return $GLOBALS['setup_info']['news_admin']['currentver']; 
     162        }        
     163        $test[] = '2.0.001'; 
     164        function news_admin_upgrade2_0_001() 
     165        { 
    160166                $GLOBALS['setup_info']['news_admin']['currentver'] = '2.1.000'; 
    161167                return $GLOBALS['setup_info']['news_admin']['currentver']; 
  • trunk/phpgwapi/setup/tables_update.inc.php

    r1728 r1835  
    16141614        function phpgwapi_upgrade1_0_0_003() 
    16151615        { 
    1616                 // removing the ACL entries of deleted accounts 
    1617                 $GLOBALS['phpgw_setup']->setup_account_object(); 
    1618                 if (($all_accounts = $GLOBALS['phpgw']->accounts->search(array('type'=>'both')))) 
    1619                 { 
    1620                         $all_accounts = array_keys($all_accounts); 
    1621                         $GLOBALS['phpgw_setup']->oProc->query("DELETE FROM phpgw_acl WHERE acl_account NOT IN (".implode(',',$all_accounts).")",__LINE__,__FILE__); 
    1622                         $GLOBALS['phpgw_setup']->oProc->query("DELETE FROM phpgw_acl WHERE acl_appname='phpgw_group' AND acl_location NOT IN ('".implode("','",$all_accounts)."')",__LINE__,__FILE__); 
    1623                 } 
    16241616                $GLOBALS['setup_info']['phpgwapi']['currentver'] = '1.0.0.004'; 
    16251617                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
     
    16841676        function phpgwapi_upgrade2_0_001() 
    16851677        { 
     1678                $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.0.002'; 
     1679                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
     1680        } 
     1681        $test[] = '2.0.002'; 
     1682        function phpgwapi_upgrade2_0_002() 
     1683        { 
    16861684                $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.1.000'; 
    16871685                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
  • trunk/workflow/setup/tables_update.inc.php

    r1728 r1835  
    12011201        { 
    12021202                #updating the current version 
     1203                $GLOBALS['setup_info']['workflow']['currentver'] = '2.0.001'; 
     1204                return $GLOBALS['setup_info']['workflow']['currentver']; 
     1205        } 
     1206        $test[] = '2.0.001'; 
     1207        function workflow_upgrade2_0_001() 
     1208        { 
     1209                #updating the current version 
    12031210                $GLOBALS['setup_info']['workflow']['currentver'] = '2.1.000'; 
    12041211                return $GLOBALS['setup_info']['workflow']['currentver']; 
Note: See TracChangeset for help on using the changeset viewer.