Ignore:
Timestamp:
07/12/10 10:39:22 (14 years ago)
Author:
niltonneto
Message:

Ticket #1135 - Ajuste da atualização do header.inc.php, setup dos módulos e API.

Location:
branches/2.2/emailadmin/setup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/emailadmin/setup/setup.inc.php

    r1728 r3031  
    1414        $setup_info['emailadmin']['name']      = 'emailadmin'; 
    1515        $setup_info['emailadmin']['title']     = 'EMailAdmin'; 
    16         $setup_info['emailadmin']['version']   = '2.1.000'; 
     16        $setup_info['emailadmin']['version']   = '2.2.000'; 
    1717        $setup_info['emailadmin']['app_order'] = 10; 
    1818        $setup_info['emailadmin']['enable']    = 2; 
     
    4040        $setup_info['emailadmin']['depends'][] = array( 
    4141                'appname'  => 'phpgwapi', 
    42                 'versions' => Array('2.1') 
     42                'versions' => Array('2.2') 
    4343        ); 
    4444 
  • branches/2.2/emailadmin/setup/tables_update.inc.php

    r1728 r3031  
    9292   $test[] = '2.0.000'; 
    9393   function emailadmin_upgrade2_0_000() 
    94         { 
    95       $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.0.001'; 
     94        {       
    9695      $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','imapcreatespamfolder', array('type' => 'varchar', 'precision' => 3)); 
    9796      $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','imapcyrususerpostspam', array('type' => 'varchar', 'precision' => 30)); 
     97          $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.1.000';       
    9898      return $GLOBALS['setup_info']['emailadmin']['currentver']; 
    9999   } 
    100    $test[] = '2.0.001'; 
    101    function emailadmin_upgrade2_0_001() 
     100   $test[] = '2.1.000'; 
     101   function emailadmin_upgrade2_1_000() 
    102102        { 
    103       $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.1.000'; 
     103      $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.2.000'; 
    104104      return $GLOBALS['setup_info']['emailadmin']['currentver']; 
    105105   } 
Note: See TracChangeset for help on using the changeset viewer.