1 | <?php |
---|
2 | /**************************************************************************\ |
---|
3 | * phpGroupWare - Setup * |
---|
4 | * http://www.phpgroupware.org * |
---|
5 | * -------------------------------------------- * |
---|
6 | * This program is free software; you can redistribute it and/or modify it * |
---|
7 | * under the terms of the GNU General Public License as published by the * |
---|
8 | * Free Software Foundation; either version 2 of the License, or (at your * |
---|
9 | * option) any later version. * |
---|
10 | \**************************************************************************/ |
---|
11 | $test[] = '2.0.000'; |
---|
12 | function expressoAdmin1_2_upgrade2_0_000() |
---|
13 | { |
---|
14 | $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.0.001'; |
---|
15 | return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; |
---|
16 | } |
---|
17 | $test[] = '2.0.001'; |
---|
18 | function expressoAdmin1_2_upgrade2_0_001() |
---|
19 | { |
---|
20 | $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.0.002'; |
---|
21 | return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; |
---|
22 | } |
---|
23 | $test[] = '2.0.002'; |
---|
24 | function expressoAdmin1_2_upgrade2_0_002() |
---|
25 | { |
---|
26 | $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.0.003'; |
---|
27 | return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; |
---|
28 | } |
---|
29 | $test[] = '2.0.003'; |
---|
30 | function expressoAdmin1_2_upgrade2_0_003() |
---|
31 | { |
---|
32 | $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.0.004'; |
---|
33 | return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; |
---|
34 | } |
---|
35 | $test[] = '2.0.004'; |
---|
36 | function expressoAdmin1_2_upgrade2_0_004() |
---|
37 | { |
---|
38 | $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.0.005'; |
---|
39 | return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; |
---|
40 | } |
---|
41 | $test[] = '2.0.005'; |
---|
42 | function expressoAdmin1_2_upgrade2_0_005() |
---|
43 | { |
---|
44 | $GLOBALS['phpgw_setup']->db->query("alter table phpgw_expressoadmin_log drop groupinfo"); |
---|
45 | $GLOBALS['phpgw_setup']->db->query("alter table phpgw_expressoadmin_log drop appinfo"); |
---|
46 | $GLOBALS['phpgw_setup']->db->query("alter table phpgw_expressoadmin_log drop msg"); |
---|
47 | $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.1.000'; |
---|
48 | return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; |
---|
49 | } |
---|
50 | $test[] = '2.1.000'; |
---|
51 | function expressoAdmin1_2_upgrade2_1_000() |
---|
52 | { |
---|
53 | $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.2.000'; |
---|
54 | return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver']; |
---|
55 | } |
---|
56 | |
---|
57 | ?> |
---|