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.37.2.6,1.37.2.6.2


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/setup setup.inc.php,1.37.2.6,1.37.2.6.2.1 tables_update.inc.php,1.53.2.9,1.53.2.9.2.1
Date: Wed, 26 Mar 2003 19:25:51 -0500

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

Modified Files:
      Tag: Version-0_9_16-branch
        setup.inc.php tables_update.inc.php 
Log Message:
updateing the version number to .9.14.500 and doing the necessary updates for 
the new vfs-class


Index: setup.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/setup.inc.php,v
retrieving revision 1.37.2.6
retrieving revision 1.37.2.6.2.1
diff -C2 -r1.37.2.6 -r1.37.2.6.2.1
*** setup.inc.php       21 Mar 2003 15:02:12 -0000      1.37.2.6
--- setup.inc.php       27 Mar 2003 00:25:49 -0000      1.37.2.6.2.1
***************
*** 16,21 ****
        $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;
        $setup_info['phpgwapi']['app_order'] = 1;
--- 16,21 ----
        $setup_info['phpgwapi']['name']      = 'phpgwapi';
        $setup_info['phpgwapi']['title']     = 'phpgwapi';
!       $setup_info['phpgwapi']['version']   = '0.9.14.500';
!       $setup_info['phpgwapi']['versions']['current_header'] = '1.23';
        $setup_info['phpgwapi']['enable']    = 3;
        $setup_info['phpgwapi']['app_order'] = 1;

Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/setup/tables_update.inc.php,v
retrieving revision 1.53.2.9
retrieving revision 1.53.2.9.2.1
diff -C2 -r1.53.2.9 -r1.53.2.9.2.1
*** tables_update.inc.php       22 Mar 2003 01:26:08 -0000      1.53.2.9
--- tables_update.inc.php       27 Mar 2003 00:25:49 -0000      1.53.2.9.2.1
***************
*** 464,467 ****
--- 464,468 ----
                // I fix it now in the (wrong) order of the tables_current, as 
some apps might depend on!
                
+               $confs = array();
                $GLOBALS['phpgw_setup']->oProc->query("SELECT * FROM 
phpgw_config");
                while ($GLOBALS['phpgw_setup']->oProc->next_record())
***************
*** 499,501 ****
--- 500,519 ----
                return $GLOBALS['setup_info']['phpgwapi']['currentver'];
        }
+       
+       $test[] = '0.9.14.002';
+       function phpgwapi_upgrade0_9_14_002()
+       {
+               // 0.9.14.5xx are the development-versions of the 0.9.16 
release (based on the 0.9.14 api)
+               // as 0.9.15.xxx are already used in HEAD
+               
+               // this is the 0.9.15.003 update, needed for the new 
filemanager and vfs-classes in the api
+               
$GLOBALS['phpgw_setup']->oProc->AddColumn('phpgw_vfs','content', array ('type' 
=> 'text', 'nullable' => False));
+ 
+               // this is the 0.9.15.004 update, needed for the polish 
translations
+               $GLOBALS['phpgw_setup']->db->query("UPDATE phpgw_languages set 
available='Yes' WHERE lang_id='pl'");
+               
+               $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.14.500';
+               return $GLOBALS['setup_info']['phpgwapi']['currentver'];
+       }
+ 
  ?>





reply via email to

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