source: trunk/news_admin/setup/tables_update.inc.php @ 5128

Revision 5128, 2.1 KB checked in by wmerlotto, 12 years ago (diff)

Ticket #2305 - Enviando alteracoes, desenvolvidas internamente na Prognus, do modulo API.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1<?php
2        /**************************************************************************\
3        * eGroupWare - Webpage news admin                                          *
4        * http://www.egroupware.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        * This program was sponsered by Golden Glair productions                   *
12        * http://www.goldenglair.com                                               *
13        \**************************************************************************/
14        // Since Expresso 1.2 using news_admin 1.0.0
15        $test[] = '1.0.0';
16        function news_admin_upgrade1_0_0()
17        {
18                $GLOBALS['setup_info']['news_admin']['currentver'] = '2.0.000';
19                return $GLOBALS['setup_info']['news_admin']['currentver'];
20        }
21        $test[] = '2.0.000';
22        function news_admin_upgrade2_0_000()
23        {
24                $GLOBALS['setup_info']['news_admin']['currentver'] = '2.0.001';
25                return $GLOBALS['setup_info']['news_admin']['currentver'];
26        }       
27        $test[] = '2.0.001';
28        function news_admin_upgrade2_0_001()
29        {
30                $GLOBALS['setup_info']['news_admin']['currentver'] = '2.1.000';
31                return $GLOBALS['setup_info']['news_admin']['currentver'];
32        }
33        $test[] = '2.1.000';
34        function news_admin_upgrade2_1_000()
35        {
36                $GLOBALS['setup_info']['news_admin']['currentver'] = '2.2.000';
37                return $GLOBALS['setup_info']['news_admin']['currentver'];
38        }       
39        $test[] = '2.2.000';
40        function news_admin_upgrade2_2_000()
41        {
42                $GLOBALS['setup_info']['news_admin']['currentver'] = '2.2.1';
43                return $GLOBALS['setup_info']['news_admin']['currentver'];
44        }
45        $test[] = '2.2.1';
46        function news_admin_upgrade2_2_1()
47        {
48                $GLOBALS['setup_info']['news_admin']['currentver'] = '2.4.0';
49                return $GLOBALS['setup_info']['news_admin']['currentver'];
50        }
51?>
Note: See TracBrowser for help on using the repository browser.