Changeset 5156 for branches/2.3/emailadmin
- Timestamp:
- 11/07/11 15:59:45 (12 years ago)
- Location:
- branches/2.3/emailadmin/setup
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/emailadmin/setup/setup.inc.php
r4526 r5156 14 14 $setup_info['emailadmin']['name'] = 'emailadmin'; 15 15 $setup_info['emailadmin']['title'] = 'EMailAdmin'; 16 $setup_info['emailadmin']['version'] = '2. 2.0.1';16 $setup_info['emailadmin']['version'] = '2.3.0'; 17 17 $setup_info['emailadmin']['app_order'] = 10; 18 18 $setup_info['emailadmin']['enable'] = 2; … … 40 40 $setup_info['emailadmin']['depends'][] = array( 41 41 'appname' => 'phpgwapi', 42 'versions' => Array('2. 2')42 'versions' => Array('2.3') 43 43 ); 44 44 -
branches/2.3/emailadmin/setup/tables_update.inc.php
r4526 r5156 15 15 function emailadmin_upgrade0_0_3() 16 16 { 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)); 18 18 19 19 $setup_info['emailadmin']['currentver'] = '0.0.4'; … … 24 24 function emailadmin_upgrade0_0_4() 25 25 { 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)); 27 27 28 28 $setup_info['emailadmin']['currentver'] = '0.0.5'; … … 33 33 function emailadmin_upgrade0_0_5() 34 34 { 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)); 37 37 38 38 $setup_info['emailadmin']['currentver'] = '0.0.6'; 39 39 return $setup_info['emailadmin']['currentver']; 40 40 } 41 41 42 42 43 43 … … 65 65 return $GLOBALS['setup_info']['emailadmin']['currentver']; 66 66 } 67 67 68 68 69 69 $test[] = '0.0.008'; … … 92 92 $test[] = '2.0.000'; 93 93 function emailadmin_upgrade2_0_000() 94 { 94 { 95 95 $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','imapcreatespamfolder', array('type' => 'varchar', 'precision' => 3)); 96 96 $GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_emailadmin','imapcyrususerpostspam', array('type' => 'varchar', 'precision' => 30)); … … 101 101 function emailadmin_upgrade2_0_001() 102 102 { 103 $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.1.000'; 103 $GLOBALS['setup_info']['emailadmin']['currentver'] = '2.1.000'; 104 104 return $GLOBALS['setup_info']['emailadmin']['currentver']; 105 105 } … … 113 113 function emailadmin_upgrade2_2_000() 114 114 { 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'; 116 122 return $GLOBALS['setup_info']['emailadmin']['currentver']; 117 123 }
Note: See TracChangeset
for help on using the changeset viewer.