Changeset 5156 for branches/2.3/workflow
- Timestamp:
- 11/07/11 15:59:45 (12 years ago)
- Location:
- branches/2.3/workflow/setup
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/workflow/setup/setup.inc.php
r4526 r5156 13 13 $setup_info['workflow']['name'] = 'workflow'; 14 14 $setup_info['workflow']['title'] = 'Workflow Management'; 15 $setup_info['workflow']['version'] = '2. 2.0.1';15 $setup_info['workflow']['version'] = '2.3.0'; 16 16 $setup_info['workflow']['app_order'] = 10; 17 17 $setup_info['workflow']['enable'] = 1; … … 59 59 $setup_info['workflow']['depends'][] = array( 60 60 'appname' => 'phpgwapi', 61 'versions' => Array('1.2', '2.0', '2.2' )61 'versions' => Array('1.2', '2.0', '2.2' , '2.3') 62 62 ); 63 63 $setup_info['workflow']['depends'][] = array( 64 64 'appname' => 'preferences', 65 'versions' => Array('0.9.13.002', '2.0', '2.2' )65 'versions' => Array('0.9.13.002', '2.0', '2.2','2.3') 66 66 ); 67 67 ?> -
branches/2.3/workflow/setup/tables_update.inc.php
r4526 r5156 194 194 /* adding primary key without the column removed */ 195 195 $GLOBALS['phpgw']->ADOdb->query('ALTER TABLE egw_wf_interinstance_relations ADD CONSTRAINT egw_wf_interinstance_relations_pkey PRIMARY KEY (wf_parent_instance_id, wf_child_instance_id)'); 196 196 197 197 /* Update the organogram level of administration off all users from 0 to 1. */ 198 198 $GLOBALS['phpgw']->ADOdb->query('UPDATE egw_wf_admin_access set nivel = 1 WHERE tipo = \'ORG\' and nivel = 0'); … … 207 207 { 208 208 #updating the current version 209 $GLOBALS['setup_info']['workflow']['currentver'] = '2.2.0.1'; 209 $GLOBALS['setup_info']['workflow']['currentver'] = '2.2.1'; 210 return $GLOBALS['setup_info']['workflow']['currentver']; 211 } 212 $test[] = '2.2.1'; 213 function workflow_upgrade2_2_1() 214 { 215 #updating the current version 216 $GLOBALS['setup_info']['workflow']['currentver'] = '2.2.6'; 217 return $GLOBALS['setup_info']['workflow']['currentver']; 218 } 219 $test[] = '2.2.6'; 220 function workflow_upgrade2_2_6() 221 { 222 #updating the current version 223 $GLOBALS['setup_info']['workflow']['currentver'] = '2.3.0'; 210 224 return $GLOBALS['setup_info']['workflow']['currentver']; 211 225 }
Note: See TracChangeset
for help on using the changeset viewer.