phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php, 1.58, 1.59 tables_


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php, 1.58, 1.59 tables_update.inc.php, 1.73, 1.74
Date: Mon, 21 Jul 2003 14:20:47 -0400

Update of /cvsroot/phpgroupware/phpgwapi/setup
In directory subversions:/tmp/cvs-serv13603/setup

Modified Files:
        setup.inc.php tables_update.inc.php 
Log Message:
- added update from version 0.9.14.004-6 (security-fixes) and 0.9.14.508 
(asyncservice)
- merged asyncservices from .16

Index: setup.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/setup.inc.php,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -r1.58 -r1.59
*** setup.inc.php       18 May 2003 19:18:10 -0000      1.58
--- setup.inc.php       21 Jul 2003 18:20:45 -0000      1.59
***************
*** 13,17 ****
        /* Basic information about this app */
        $setup_info['phpgwapi']['name']      = 'phpgwapi';
!       $setup_info['phpgwapi']['version']   = '0.9.15.013';
        $setup_info['phpgwapi']['versions']['current_header'] = '1.23';
        $setup_info['phpgwapi']['enable']    = 3;
--- 13,17 ----
        /* Basic information about this app */
        $setup_info['phpgwapi']['name']      = 'phpgwapi';
!       $setup_info['phpgwapi']['version']   = '0.9.15.014';
        $setup_info['phpgwapi']['versions']['current_header'] = '1.23';
        $setup_info['phpgwapi']['enable']    = 3;

Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/tables_update.inc.php,v
retrieving revision 1.73
retrieving revision 1.74
diff -C2 -r1.73 -r1.74
*** tables_update.inc.php       21 Jul 2003 15:45:49 -0000      1.73
--- tables_update.inc.php       21 Jul 2003 18:20:45 -0000      1.74
***************
*** 72,75 ****
--- 72,114 ----
        }
  
+       $test[] = '0.9.14.004';
+       function phpgwapi_upgrade0_9_14_004()
+       {
+               // this is the 0.9.15.001 update
+               
$GLOBALS['phpgw_setup']->oProc->RenameTable('lang','phpgw_lang');
+               
$GLOBALS['phpgw_setup']->oProc->RenameTable('languages','phpgw_languages');
+ 
+               // 0.9.15.002 are already included in 0.9.14.002
+               
+               $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.15.003';
+               return $GLOBALS['setup_info']['phpgwapi']['currentver'];
+       }
+ 
+       $test[] = '0.9.14.005';
+       function phpgwapi_upgrade0_9_14_005()
+       {
+               // this is the 0.9.15.001 update
+               
$GLOBALS['phpgw_setup']->oProc->RenameTable('lang','phpgw_lang');
+               
$GLOBALS['phpgw_setup']->oProc->RenameTable('languages','phpgw_languages');
+ 
+               // 0.9.15.002 are already included in 0.9.14.002
+               
+               $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.15.003';
+               return $GLOBALS['setup_info']['phpgwapi']['currentver'];
+       }
+ 
+       $test[] = '0.9.14.006';
+       function phpgwapi_upgrade0_9_14_006()
+       {
+               // this is the 0.9.15.001 update
+               
$GLOBALS['phpgw_setup']->oProc->RenameTable('lang','phpgw_lang');
+               
$GLOBALS['phpgw_setup']->oProc->RenameTable('languages','phpgw_languages');
+ 
+               // 0.9.15.002 are already included in 0.9.14.002
+               
+               $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.15.003';
+               return $GLOBALS['setup_info']['phpgwapi']['currentver'];
+       }
+ 
        $test[] = '0.9.14.500';
        function phpgwapi_upgrade0_9_14_500()
***************
*** 143,147 ****
        function phpgwapi_upgrade0_9_14_506()
        {
!               // 0.9.15.001-13 are already included in 0.9.14.506
                $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.15.013';
                return $GLOBALS['setup_info']['phpgwapi']['currentver'];
--- 182,190 ----
        function phpgwapi_upgrade0_9_14_506()
        {
!               
$GLOBALS['phpgw_setup']->oProc->AlterColumn('phpgw_vfs','content',array(
!                       'type' => 'text',
!                       'nullable' => True
!               ));
! 
                $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.15.013';
                return $GLOBALS['setup_info']['phpgwapi']['currentver'];
***************
*** 151,155 ****
        function phpgwapi_upgrade0_9_14_507()
        {
!               // 0.9.15.001-14 are already included in 0.9.14.507
                $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.15.014';
                return $GLOBALS['setup_info']['phpgwapi']['currentver'];
--- 194,206 ----
        function phpgwapi_upgrade0_9_14_507()
        {
!               // 0.9.15.001-13 are already included in 0.9.14.507
!               $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.15.013';
!               return $GLOBALS['setup_info']['phpgwapi']['currentver'];
!       }
! 
!       $test[] = '0.9.14.508';
!       function phpgwapi_upgrade0_9_14_508()
!       {
!               // 0.9.15.001-14 are already included in 0.9.14.508
                $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.15.014';
                return $GLOBALS['setup_info']['phpgwapi']['currentver'];
***************
*** 415,425 ****
        }
  
- 
        $test[] = '0.9.15.013';
!       function phpgwapi_upgrade0_9_14_506()
        {
!               
$GLOBALS['phpgw_setup']->oProc->AlterColumn('phpgw_vfs','content',array(
!                       'type' => 'text',
!                       'nullable' => True
                ));
  
--- 466,477 ----
        }
  
        $test[] = '0.9.15.013';
!       function phpgwapi_upgrade0_9_15_013()
        {
!               
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_async','account_id',array(
!                       'type' => 'int',
!                       'precision' => '4',
!                       'nullable' => False,
!                       'default' => '0'
                ));
  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]