source: trunk/expressoAdmin1_2/setup/tables_update.inc.php @ 3047

Revision 3047, 2.4 KB checked in by niltonneto, 14 years ago (diff)

Ticket #1141 - Corrigido problema sobre registro de Logs do ExpressoAdmin.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
RevLine 
[27]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.                                               *
[3047]10        \**************************************************************************/
11        $test[] = '2.0.000';
12        function expressoAdmin1_2_upgrade2_0_000()
[131]13        {
[3047]14                $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.0.001';
[131]15                return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'];
16        }
[3047]17        $test[] = '2.0.001';
18        function expressoAdmin1_2_upgrade2_0_001()
[27]19        {
[3047]20                $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.0.002';
[131]21                return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'];
[27]22        }
[3047]23        $test[] = '2.0.002';
24        function expressoAdmin1_2_upgrade2_0_002()
[46]25        {
[3047]26                $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.0.003';
[131]27                return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'];
[46]28        }
[3047]29        $test[] = '2.0.003';
30        function expressoAdmin1_2_upgrade2_0_003()
[414]31        {
[3047]32                $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.0.004';
[1323]33                return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'];
[414]34        }
[3047]35        $test[] = '2.0.004';
36        function expressoAdmin1_2_upgrade2_0_004()
[1323]37        {
[3047]38                $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.0.005';
[1323]39                return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'];
40        }
[3047]41        $test[] = '2.0.005';
42        function expressoAdmin1_2_upgrade2_0_005()
[1728]43        {
[3047]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';
[1836]48                return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'];
49        }
[3047]50        $test[] = '2.1.000';
51        function expressoAdmin1_2_upgrade2_1_000()
[1836]52        {
[3047]53                $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'] = '2.2.000';
[1728]54                return $GLOBALS['setup_info']['expressoAdmin1_2']['currentver'];
55        }
[64]56
[68]57?>
Note: See TracBrowser for help on using the repository browser.