[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/setup default_records.inc.php,1.8,1.9 t
From: |
Mark A Peters <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/setup default_records.inc.php,1.8,1.9 tables_update.inc.php,1.59,1.60 |
Date: |
Sun, 01 Sep 2002 09:00:41 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/setup
In directory subversions:/tmp/cvs-serv22660/phpgwapi/setup
Modified Files:
default_records.inc.php tables_update.inc.php
Log Message:
GNU Patch #500 - Enabling Polish language. THIS WORKS AS AN API UPGRADE.
Index: default_records.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/default_records.inc.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** default_records.inc.php 4 Mar 2002 05:19:48 -0000 1.8
--- default_records.inc.php 1 Sep 2002 13:00:39 -0000 1.9
***************
*** 99,103 ****
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_languages
(lang_id, lang_name, available) VALUES ('or','Oriya','No')");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_languages
(lang_id, lang_name, available) VALUES ('pa','Punjabi','No')");
! $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_languages
(lang_id, lang_name, available) VALUES ('pl','Polish','No')");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_languages
(lang_id, lang_name, available) VALUES ('ps','Pashto / Pushto','No')");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_languages
(lang_id, lang_name, available) VALUES ('pt','Portuguese','No')");
--- 99,103 ----
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_languages
(lang_id, lang_name, available) VALUES ('or','Oriya','No')");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_languages
(lang_id, lang_name, available) VALUES ('pa','Punjabi','No')");
! $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_languages
(lang_id, lang_name, available) VALUES ('pl','Polish','Yes')");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_languages
(lang_id, lang_name, available) VALUES ('ps','Pashto / Pushto','No')");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_languages
(lang_id, lang_name, available) VALUES ('pt','Portuguese','No')");
***************
*** 156,158 ****
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_vfs (owner_id,
createdby_id, modifiedby_id, created, modified, size, mime_type, deleteable,
comment, app, directory, name, link_directory, link_name) VALUES
(0,0,0,'1970-01-01',NULL,NULL,'Directory','Y',NULL,NULL,'/','', NULL, NULL)");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_vfs (owner_id,
createdby_id, modifiedby_id, created, modified, size, mime_type, deleteable,
comment, app, directory, name, link_directory, link_name) VALUES
(0,0,0,'1970-01-01',NULL,NULL,'Directory','Y',NULL,NULL,'/','home', NULL,
NULL)");
! ?>
--- 156,158 ----
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_vfs (owner_id,
createdby_id, modifiedby_id, created, modified, size, mime_type, deleteable,
comment, app, directory, name, link_directory, link_name) VALUES
(0,0,0,'1970-01-01',NULL,NULL,'Directory','Y',NULL,NULL,'/','', NULL, NULL)");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_vfs (owner_id,
createdby_id, modifiedby_id, created, modified, size, mime_type, deleteable,
comment, app, directory, name, link_directory, link_name) VALUES
(0,0,0,'1970-01-01',NULL,NULL,'Directory','Y',NULL,NULL,'/','home', NULL,
NULL)");
! ?>
\ No newline at end of file
Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/tables_update.inc.php,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -r1.59 -r1.60
*** tables_update.inc.php 26 Aug 2002 07:51:54 -0000 1.59
--- tables_update.inc.php 1 Sep 2002 13:00:39 -0000 1.60
***************
*** 95,97 ****
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
}
! ?>
--- 95,107 ----
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
}
!
! $test[] = '0.9.15.004';
! function phpgwapi_upgrade0_9_15_004()
! {
! $GLOBALS['phpgw_setup']->db->query("UPDATE phpgw_languages set
available='Yes' WHERE lang_id='pl'");
!
! $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.15.005';
! return $GLOBALS['setup_info']['phpgwapi']['currentver'];
! }
!
! ?>
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/setup default_records.inc.php,1.8,1.9 tables_update.inc.php,1.59,1.60,
Mark A Peters <address@hidden> <=