[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: sitemgr/setup tables_update.inc.php,1.13,1.14
From: |
Michael Totschnig <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: sitemgr/setup tables_update.inc.php,1.13,1.14 |
Date: |
Sat, 31 May 2003 12:36:47 -0400 |
Update of /cvsroot/phpgroupware/sitemgr/setup
In directory subversions:/tmp/cvs-serv32158
Modified Files:
tables_update.inc.php
Log Message:
set last_mod when inserting the website category as in default_records
Index: tables_update.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/setup/tables_update.inc.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** tables_update.inc.php 30 May 2003 04:01:43 -0000 1.13
--- tables_update.inc.php 31 May 2003 16:36:45 -0000 1.14
***************
*** 433,437 ****
//Create default site and hang all existing categories into it
! $db2->query("INSERT INTO phpgw_categories
(cat_parent,cat_owner,cat_access,cat_appname,cat_name,cat_description) VALUES
(0,-1,'public','sitemgr','Default Website','This website has been added by
setup')");
$site_id =
$db2->get_last_insert_id('phpgw_categories','cat_id');
$db2->query("UPDATE phpgw_categories SET cat_main = $site_id
WHERE cat_appname = 'sitemgr'",__LINE__,__FILE__);
--- 433,437 ----
//Create default site and hang all existing categories into it
! $db2->query("INSERT INTO phpgw_categories
(cat_parent,cat_owner,cat_access,cat_appname,cat_name,cat_description,last_mod)
VALUES (0,-1,'public','sitemgr','Default Website','This website has been added
by setup',0)");
$site_id =
$db2->get_last_insert_id('phpgw_categories','cat_id');
$db2->query("UPDATE phpgw_categories SET cat_main = $site_id
WHERE cat_appname = 'sitemgr'",__LINE__,__FILE__);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: sitemgr/setup tables_update.inc.php,1.13,1.14,
Michael Totschnig <address@hidden> <=