phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: news_admin/setup setup.inc.php,1.5.4.1,1.5.4.2 t


From: Michael Totschnig <address@hidden>
Subject: [Phpgroupware-cvs] CVS: news_admin/setup setup.inc.php,1.5.4.1,1.5.4.2 tables_current.inc.php,1.3.4.1,1.3.4.2 tables_update.inc.php,1.1.4.1,1.1.4.2
Date: Mon, 23 Jun 2003 15:20:54 -0400

Update of /cvsroot/phpgroupware/news_admin/setup
In directory subversions:/tmp/cvs-serv24161/setup

Modified Files:
      Tag: Version-0_9_16-branch
        setup.inc.php tables_current.inc.php tables_update.inc.php 
Log Message:
sync up with HEAD


Index: setup.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/news_admin/setup/setup.inc.php,v
retrieving revision 1.5.4.1
retrieving revision 1.5.4.2
diff -C2 -r1.5.4.1 -r1.5.4.2
*** setup.inc.php       31 May 2003 08:18:21 -0000      1.5.4.1
--- setup.inc.php       23 Jun 2003 19:20:52 -0000      1.5.4.2
***************
*** 15,19 ****
        $setup_info['news_admin']['name']      = 'news_admin';
        //$setup_info['news_admin']['title']     = 'News Admin';
!       $setup_info['news_admin']['version']   = '0.9.14.500';
        $setup_info['news_admin']['app_order'] = 4;
        $setup_info['news_admin']['enable']    = 1;
--- 15,19 ----
        $setup_info['news_admin']['name']      = 'news_admin';
        //$setup_info['news_admin']['title']     = 'News Admin';
!       $setup_info['news_admin']['version']   = '0.9.14.501';
        $setup_info['news_admin']['app_order'] = 4;
        $setup_info['news_admin']['enable']    = 1;

Index: tables_current.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/news_admin/setup/tables_current.inc.php,v
retrieving revision 1.3.4.1
retrieving revision 1.3.4.2
diff -C2 -r1.3.4.1 -r1.3.4.2
*** tables_current.inc.php      31 May 2003 08:18:21 -0000      1.3.4.1
--- tables_current.inc.php      23 Jun 2003 19:20:52 -0000      1.3.4.2
***************
*** 33,37 ****
                        'ix' => array('news_date','news_subject'),
                        'uc' => array()
!               )
        );
  ?>
--- 33,55 ----
                        'ix' => array('news_date','news_subject'),
                        'uc' => array()
!               ),
!               'phpgw_news_export' => array(
!                       'fd' => array(
!                               'cat_id' => array('type' => 'int','precision' 
=> '4','nullable' => False),
!                               //export_types: 0 no export, 1 rss091, 2 rss1, 
3 rss2
!                               'export_type' => array('type' => 
'int','precision' => '2','nullable' => True),
!                               'export_itemsyntax' => array('type' => 
'int','precision' => '2','nullable' => True),
!                               'export_title' => array('type' => 
'varchar','precision' => '255','nullable' => True),
!                               'export_link' => array('type' => 
'varchar','precision' => '255','nullable' => True),
!                               'export_description' => array('type' => 'text', 
'nullable' => True),
!                               'export_img_title' => array('type' => 
'varchar','precision' => '255','nullable' => True),
!                               'export_img_url' => array('type' => 
'varchar','precision' => '255','nullable' => True),
!                               'export_img_link' => array('type' => 
'varchar','precision' => '255','nullable' => True),
!                       ),
!                       'pk' => array('cat_id'),
!                       'fk' => array(),
!                       'ix' => array(),
!                       'uc' => array()
!               ),
        );
  ?>

Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/news_admin/setup/tables_update.inc.php,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -C2 -r1.1.4.1 -r1.1.4.2
*** tables_update.inc.php       31 May 2003 08:18:21 -0000      1.1.4.1
--- tables_update.inc.php       23 Jun 2003 19:20:52 -0000      1.1.4.2
***************
*** 63,65 ****
--- 63,90 ----
                return $GLOBALS['setup_info']['news_admin']['currentver'];
        }
+ 
+       $test[] = '0.9.14.500';
+       function news_admin_upgrade0_9_14_500()
+       {
+               
$GLOBALS['phpgw_setup']->oProc->CreateTable('phpgw_news_export',array(
+                       'fd' => array(
+                               'cat_id' => array('type' => 'int','precision' 
=> '4','nullable' => False),
+                               'export_type' => array('type' => 
'int','precision' => '2','nullable' => True),
+                               'export_itemsyntax' => array('type' => 
'int','precision' => '2','nullable' => True),
+                               'export_title' => array('type' => 
'varchar','precision' => '255','nullable' => True),
+                               'export_link' => array('type' => 
'varchar','precision' => '255','nullable' => True),
+                               'export_description' => array('type' => 'text', 
'nullable' => True),
+                               'export_img_title' => array('type' => 
'varchar','precision' => '255','nullable' => True),
+                               'export_img_url' => array('type' => 
'varchar','precision' => '255','nullable' => True),
+                               'export_img_link' => array('type' => 
'varchar','precision' => '255','nullable' => True),
+                       ),
+                       'pk' => array('cat_id'),
+                       'fk' => array(),
+                       'ix' => array(),
+                       'uc' => array()
+               ));
+ 
+               $GLOBALS['setup_info']['news_admin']['currentver'] = 
'0.9.14.501';
+               return $GLOBALS['setup_info']['news_admin']['currentver'];
+       }
  ?>





reply via email to

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