phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/setup default_records.inc.php,1.4.2.5,


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/setup default_records.inc.php,1.4.2.5,1.4.2.6 setup.inc.php,1.37.2.5,1.37.2.6tables_current.inc.php,1.32.2.5,1.32.2.6 tables_update.inc.php,1.53.2.6,1.53.2.7
Date: Fri, 21 Mar 2003 10:02:14 -0500

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

Modified Files:
      Tag: Version-0_9_14-branch
        default_records.inc.php setup.inc.php tables_current.inc.php 
        tables_update.inc.php 
Log Message:
2 changes:
- newer lang-files get now installed automaticaly when a user log's in
- Czech is added to the supported lang's
==> phpgwapi version updated to 0.9.14.002


Index: default_records.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/default_records.inc.php,v
retrieving revision 1.4.2.5
retrieving revision 1.4.2.6
diff -C2 -r1.4.2.5 -r1.4.2.6
*** default_records.inc.php     14 Sep 2002 03:26:23 -0000      1.4.2.5
--- default_records.inc.php     21 Mar 2003 15:02:12 -0000      1.4.2.6
***************
*** 30,34 ****
        $oProc->query("INSERT INTO languages (lang_id, lang_name, available) 
VALUES ('ca','Catalan','No')");
        $oProc->query("INSERT INTO languages (lang_id, lang_name, available) 
VALUES ('co','Corsican','No')");
!       $oProc->query("INSERT INTO languages (lang_id, lang_name, available) 
VALUES ('cs','Czech','No')");
        $oProc->query("INSERT INTO languages (lang_id, lang_name, available) 
VALUES ('cy','Welsh','No')");
        $oProc->query("INSERT INTO languages (lang_id, lang_name, available) 
VALUES ('da','Danish','Yes')");
--- 30,34 ----
        $oProc->query("INSERT INTO languages (lang_id, lang_name, available) 
VALUES ('ca','Catalan','No')");
        $oProc->query("INSERT INTO languages (lang_id, lang_name, available) 
VALUES ('co','Corsican','No')");
!       $oProc->query("INSERT INTO languages (lang_id, lang_name, available) 
VALUES ('cs','Czech','Yes')");
        $oProc->query("INSERT INTO languages (lang_id, lang_name, available) 
VALUES ('cy','Welsh','No')");
        $oProc->query("INSERT INTO languages (lang_id, lang_name, available) 
VALUES ('da','Danish','Yes')");

Index: setup.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/setup.inc.php,v
retrieving revision 1.37.2.5
retrieving revision 1.37.2.6
diff -C2 -r1.37.2.5 -r1.37.2.6
*** setup.inc.php       25 Nov 2002 18:03:08 -0000      1.37.2.5
--- setup.inc.php       21 Mar 2003 15:02:12 -0000      1.37.2.6
***************
*** 16,20 ****
        $setup_info['phpgwapi']['name']      = 'phpgwapi';
        $setup_info['phpgwapi']['title']     = 'phpgwapi';
!       $setup_info['phpgwapi']['version']   = '0.9.14.001';
        $setup_info['phpgwapi']['versions']['current_header'] = '1.21';
        $setup_info['phpgwapi']['enable']    = 3;
--- 16,20 ----
        $setup_info['phpgwapi']['name']      = 'phpgwapi';
        $setup_info['phpgwapi']['title']     = 'phpgwapi';
!       $setup_info['phpgwapi']['version']   = '0.9.14.002';
        $setup_info['phpgwapi']['versions']['current_header'] = '1.21';
        $setup_info['phpgwapi']['enable']    = 3;

Index: tables_current.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/tables_current.inc.php,v
retrieving revision 1.32.2.5
retrieving revision 1.32.2.6
diff -C2 -r1.32.2.5 -r1.32.2.6
*** tables_current.inc.php      7 Apr 2002 19:58:48 -0000       1.32.2.5
--- tables_current.inc.php      21 Mar 2003 15:02:12 -0000      1.32.2.6
***************
*** 18,22 ****
                                'config_app' => array('type' => 'varchar', 
'precision' => 50),
                                'config_name' => array('type' => 'varchar', 
'precision' => 255, 'nullable' => false),
!                               'config_value' => array('type' => 'varchar', 
'precision' => 100)
                        ),
                        'pk' => array(),
--- 18,22 ----
                                'config_app' => array('type' => 'varchar', 
'precision' => 50),
                                'config_name' => array('type' => 'varchar', 
'precision' => 255, 'nullable' => false),
!                               'config_value' => array('type' => 'text')
                        ),
                        'pk' => array(),

Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/tables_update.inc.php,v
retrieving revision 1.53.2.6
retrieving revision 1.53.2.7
diff -C2 -r1.53.2.6 -r1.53.2.7
*** tables_update.inc.php       25 Nov 2002 18:03:08 -0000      1.53.2.6
--- tables_update.inc.php       21 Mar 2003 15:02:12 -0000      1.53.2.7
***************
*** 451,453 ****
--- 451,466 ----
                return $GLOBALS['setup_info']['phpgwapi']['currentver'];
        }
+ 
+       $test[] = '0.9.14.001';
+       function phpgwapi_upgrade0_9_14_001()
+       {
+               
$GLOBALS['phpgw_setup']->oProc->AlterColumn('phpgw_config','config_value',array(
+                       'type' => 'text',
+                       'nullable' => False
+               ));
+               $GLOBALS['phpgw_setup']->oProc->query("UPDATE languages SET 
available='Yes' WHERE lang_id='cs'");
+ 
+               $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.14.002';
+               return $GLOBALS['setup_info']['phpgwapi']['currentver'];
+       }
  ?>





reply via email to

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