source: branches/2.2/news_admin/setup/tables_update.inc.php @ 3031

Revision 3031, 1.7 KB checked in by niltonneto, 10 years ago (diff)

Ticket #1135 - Ajuste da atualização do header.inc.php, setup dos módulos e 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?>
Note: See TracBrowser for help on using the repository browser.