phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/setup tables_current.inc.php,1.40,1.41


From: Miles Lott <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/setup tables_current.inc.php,1.40,1.41 tables_update.inc.php,1.58,1.59
Date: Mon, 26 Aug 2002 03:51:57 -0400

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

Modified Files:
        tables_current.inc.php tables_update.inc.php 
Log Message:
One syntax fix, add upgrade routine from .14.000



Index: tables_current.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/tables_current.inc.php,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -r1.40 -r1.41
*** tables_current.inc.php      26 Aug 2002 04:38:29 -0000      1.40
--- tables_current.inc.php      26 Aug 2002 07:51:54 -0000      1.41
***************
*** 329,333 ****
                                'link_directory' => array('type' => 
'text','nullable' => True),
                                'link_name' => array('type' => 
'text','nullable' => True),
!                               'version' => array('type' => 'varchar', 
'precision' => 30,'nullable' => False,'default' => '0.0.0.0')
                                'content' => array('type' => 'text','nullable' 
=> False)
                        ),
--- 329,333 ----
                                'link_directory' => array('type' => 
'text','nullable' => True),
                                'link_name' => array('type' => 
'text','nullable' => True),
!                               'version' => array('type' => 'varchar', 
'precision' => 30,'nullable' => False,'default' => '0.0.0.0'),
                                'content' => array('type' => 'text','nullable' 
=> False)
                        ),

Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/tables_update.inc.php,v
retrieving revision 1.58
retrieving revision 1.59
diff -C2 -r1.58 -r1.59
*** tables_update.inc.php       26 Aug 2002 04:38:29 -0000      1.58
--- tables_update.inc.php       26 Aug 2002 07:51:54 -0000      1.59
***************
*** 33,36 ****
--- 33,43 ----
        }
  
+       $test[] = '0.9.14.000';
+       function phpgwapi_upgrade0_9_14_000()
+       {
+               $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.15.001';
+               return $GLOBALS['setup_info']['phpgwapi']['currentver'];
+       }
+ 
        $test[] = '0.9.15.001';
        function phpgwapi_upgrade0_9_15_001()
***************
*** 69,73 ****
                        $db2->query('INSERT INTO phpgw_newprefs 
(preference_owner,preference_value) VALUES('
                                . $accountid . ",'"
!                               . 
$GLOBALS['phpgw_setup']->oProc->f('preference_value') . "')",
                                __LINE__,__FILE__);
                }
--- 76,80 ----
                        $db2->query('INSERT INTO phpgw_newprefs 
(preference_owner,preference_value) VALUES('
                                . $accountid . ",'"
!                               . 
$GLOBALS['phpgw_setup']->oProc->f('preference_value') . "')",
                                __LINE__,__FILE__);
                }





reply via email to

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