Changeset 5156 for branches/2.3/workflow


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/workflow/setup
Files:
2 edited

Legend:

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

    r4526 r5156  
    1313        $setup_info['workflow']['name']                 = 'workflow'; 
    1414        $setup_info['workflow']['title']                = 'Workflow Management'; 
    15         $setup_info['workflow']['version']              = '2.2.0.1'; 
     15        $setup_info['workflow']['version']              = '2.3.0'; 
    1616        $setup_info['workflow']['app_order']    = 10; 
    1717        $setup_info['workflow']['enable']               = 1; 
     
    5959        $setup_info['workflow']['depends'][] = array( 
    6060                'appname' => 'phpgwapi', 
    61                 'versions' => Array('1.2', '2.0', '2.2') 
     61                'versions' => Array('1.2', '2.0', '2.2' , '2.3') 
    6262        ); 
    6363        $setup_info['workflow']['depends'][] = array( 
    6464                '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') 
    6666        ); 
    6767?> 
  • branches/2.3/workflow/setup/tables_update.inc.php

    r4526 r5156  
    194194                        /* adding primary key without the column removed */ 
    195195                        $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 
    197197                        /* Update the organogram level of administration off all users from 0 to 1. */ 
    198198                        $GLOBALS['phpgw']->ADOdb->query('UPDATE egw_wf_admin_access set nivel = 1 WHERE tipo = \'ORG\' and nivel = 0'); 
     
    207207        { 
    208208                #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'; 
    210224                return $GLOBALS['setup_info']['workflow']['currentver']; 
    211225        } 
Note: See TracChangeset for help on using the changeset viewer.