Ignore:
Timestamp:
11/07/11 15:59:45 (12 years ago)
Author:
brunocosta
Message:

Ticket #2142 - Ajuste do setup para publicação da versão 2.3.0

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

Legend:

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

    r4526 r5156  
    1414        $setup_info['emailadmin']['name']      = 'emailadmin'; 
    1515        $setup_info['emailadmin']['title']     = 'EMailAdmin'; 
    16         $setup_info['emailadmin']['version']   = '2.2.0.1'; 
     16        $setup_info['emailadmin']['version']   = '2.3.0'; 
    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.2') 
     42                'versions' => Array('2.3') 
    4343        ); 
    4444 
  • branches/2.3/emailadmin/setup/tables_update.inc.php

    r4526 r5156  
    1515        function emailadmin_upgrade0_0_3() 
    1616        { 
    17                 $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','smtpType', array('type' => 'int', 'precision' => 4));              
     17                $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','smtpType', array('type' => 'int', 'precision' => 4)); 
    1818 
    1919                $setup_info['emailadmin']['currentver'] = '0.0.4'; 
     
    2424        function emailadmin_upgrade0_0_4() 
    2525        { 
    26                 $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','defaultDomain', array('type' => 'varchar', 'precision' => 100));           
     26                $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','defaultDomain', array('type' => 'varchar', 'precision' => 100)); 
    2727 
    2828                $setup_info['emailadmin']['currentver'] = '0.0.5'; 
     
    3333        function emailadmin_upgrade0_0_5() 
    3434        { 
    35                 $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','organisationName', array('type' => 'varchar', 'precision' => 100));                
    36                 $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','userDefinedAccounts', array('type' => 'varchar', 'precision' => 3));               
     35                $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','organisationName', array('type' => 'varchar', 'precision' => 100)); 
     36                $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','userDefinedAccounts', array('type' => 'varchar', 'precision' => 3)); 
    3737 
    3838                $setup_info['emailadmin']['currentver'] = '0.0.6'; 
    3939                return $setup_info['emailadmin']['currentver']; 
    4040        } 
    41          
     41 
    4242 
    4343 
     
    6565                return $GLOBALS['setup_info']['emailadmin']['currentver']; 
    6666        } 
    67          
     67 
    6868 
    6969        $test[] = '0.0.008'; 
     
    9292   $test[] = '2.0.000'; 
    9393   function emailadmin_upgrade2_0_000() 
    94         {       
     94        { 
    9595      $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','imapcreatespamfolder', array('type' => 'varchar', 'precision' => 3)); 
    9696      $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','imapcyrususerpostspam', array('type' => 'varchar', 'precision' => 30)); 
     
    101101   function emailadmin_upgrade2_0_001() 
    102102        { 
    103           $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.1.000';       
     103          $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.1.000'; 
    104104      return $GLOBALS['setup_info']['emailadmin']['currentver']; 
    105105   } 
     
    113113   function emailadmin_upgrade2_2_000() 
    114114        { 
    115       $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.2.0.1'; 
     115      $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.2.1'; 
     116      return $GLOBALS['setup_info']['emailadmin']['currentver']; 
     117   } 
     118   $test[] = '2.2.1'; 
     119   function emailadmin_upgrade2_2_1() 
     120        { 
     121      $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.3.0'; 
    116122      return $GLOBALS['setup_info']['emailadmin']['currentver']; 
    117123   } 
Note: See TracChangeset for help on using the changeset viewer.