phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.setup_process.inc.php,1.4,1.5


From: Miles Lott <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.setup_process.inc.php,1.4,1.5
Date: Fri, 23 Aug 2002 00:28:30 -0400

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv5565

Modified Files:
        class.setup_process.inc.php 
Log Message:
Fix problem of ???_langs() functions recursing instead of calling translation 
class.
This meant no lang installation/upgrade except when working with lang.php.



Index: class.setup_process.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.setup_process.inc.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** class.setup_process.inc.php 4 Mar 2002 07:18:46 -0000       1.4
--- class.setup_process.inc.php 23 Aug 2002 04:28:28 -0000      1.5
***************
*** 349,354 ****
                        {
                                $appname = $setup_info[$key]['name'];
!                               /* This is in the setup_lang class */
!                               $this->add_langs($appname,$DEBUG,$force_en);
                                if($DEBUG)
                                {
--- 349,353 ----
                        {
                                $appname = $setup_info[$key]['name'];
!                               
$this->translation->add_langs($appname,$DEBUG,$force_en);
                                if($DEBUG)
                                {
***************
*** 371,376 ****
                        {
                                $appname = $setup_info[$key]['name'];
!                               /* This is in the setup_lang class */
!                               $this->drop_langs($appname,$DEBUG);
                                if($DEBUG)
                                {
--- 370,374 ----
                        {
                                $appname = $setup_info[$key]['name'];
!                               $this->translation->drop_langs($appname,$DEBUG);
                                if($DEBUG)
                                {
***************
*** 398,404 ****
                                }
                                $appname = $setup_info[$key]['name'];
!                               /* These are in the setup_lang class */
!                               $this->drop_langs($appname,$DEBUG);
!                               $this->add_langs($appname,$DEBUG);
                                if($DEBUG)
                                {
--- 396,401 ----
                                }
                                $appname = $setup_info[$key]['name'];
!                               $this->translation->drop_langs($appname,$DEBUG);
!                               $this->translation->add_langs($appname,$DEBUG);
                                if($DEBUG)
                                {
***************
*** 409,412 ****
--- 406,410 ----
                        return ($setup_info);
                }
+ 
                /*!
                @function test_data





reply via email to

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