phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: forum/setup default_records.inc.php,1.3,1.4


From: Miles Lott <address@hidden>
Subject: [Phpgroupware-cvs] CVS: forum/setup default_records.inc.php,1.3,1.4
Date: Mon, 04 Mar 2002 02:18:48 -0500

Update of /cvsroot/phpgroupware/forum/setup
In directory subversions:/tmp/cvs-serv10143/./forum/setup

Modified Files:
        default_records.inc.php 
Log Message:
Use only the phpgw_setup->oProc object



Index: default_records.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/forum/setup/default_records.inc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** default_records.inc.php     3 Oct 2001 00:03:18 -0000       1.3
--- default_records.inc.php     4 Mar 2002 07:18:45 -0000       1.4
***************
*** 12,29 ****
        /* $Id$ */
  
!       $oProc->query("INSERT INTO phpgw_forum_categories (name,descr) VALUES 
('Just a sample', 'This is a sample category')");
!       $oProc->query("INSERT INTO phpgw_forum_categories (name,descr) VALUES 
('Another sample category', 'Just another sample')");
  
!       $oProc->query("INSERT INTO phpgw_forum_forums (name,perm,groups,descr, 
cat_id) VALUES ('Sample', '0', '0', 'This is a sample', '1')");
!       $oProc->query("INSERT INTO phpgw_forum_forums (name,perm,groups,descr, 
cat_id) VALUES ('This is another sample', '0', '0', 'sub-category', '1')");
!       $oProc->query("INSERT INTO phpgw_forum_forums (name,perm,groups,descr, 
cat_id) VALUES ('Sample', '0', '0', 'Wow, what a suprise, another sample :)', 
'2')");
  
!       $oProc->query("INSERT INTO phpgw_forum_body (cat_id, for_id, message) 
VALUES ('1', '1','Here is an example message.')");
!       $oProc->query("INSERT INTO phpgw_forum_body (cat_id, for_id, message) 
VALUES ('1', '1', 'Here is an example of a reply.')");
!       $oProc->query("INSERT INTO phpgw_forum_body (cat_id, for_id, message) 
VALUES ('1', '2', 'Yup, another example')");
!       $oProc->query("INSERT INTO phpgw_forum_body (cat_id, for_id, message) 
VALUES ('2', '3', 'I ran out of ideas ... so, heres another sample.')");
  
!       $oProc->query("INSERT INTO phpgw_forum_threads 
(postdate,main,parent,cat_id,for_id,thread_owner,subject,stat,thread,depth,pos,n_replies)
 VALUES ('2000-12-27 04:19:54', '1', '-1', '1', '1',0, 'Example','0', '1', '0', 
'0', '1')");
!       $oProc->query("INSERT INTO phpgw_forum_threads 
(postdate,main,parent,cat_id,for_id,thread_owner,subject,stat,thread,depth,pos,n_replies)
 VALUES ('2000-12-27 04:20:12', '2', '1', '1', '1',0, 'Re: Example','0', '1', 
'1', '1', '1')");
!       $oProc->query("INSERT INTO phpgw_forum_threads 
(postdate,main,parent,cat_id,for_id,thread_owner,subject,stat,thread,depth,pos,n_replies)
 VALUES ('2000-12-27 04:21:15', '3', '-1', '1', '2',0, 'Example message','0', 
'3', '0', '0', '0')");
!       $oProc->query("INSERT INTO phpgw_forum_threads 
(postdate,main,parent,cat_id,for_id,thread_owner,subject,stat,thread,depth,pos,n_replies)
 VALUES ('2000-12-27 04:21:58', '4', '-1', '2', '3',0, '','0', '4', '0', '0', 
'0')");
--- 12,29 ----
        /* $Id$ */
  
!       $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO 
phpgw_forum_categories (name,descr) VALUES ('Just a sample', 'This is a sample 
category')");
!       $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO 
phpgw_forum_categories (name,descr) VALUES ('Another sample category', 'Just 
another sample')");
  
!       $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_forum_forums 
(name,perm,groups,descr, cat_id) VALUES ('Sample', '0', '0', 'This is a 
sample', '1')");
!       $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_forum_forums 
(name,perm,groups,descr, cat_id) VALUES ('This is another sample', '0', '0', 
'sub-category', '1')");
!       $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_forum_forums 
(name,perm,groups,descr, cat_id) VALUES ('Sample', '0', '0', 'Wow, what a 
suprise, another sample :)', '2')");
  
!       $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_forum_body 
(cat_id, for_id, message) VALUES ('1', '1','Here is an example message.')");
!       $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_forum_body 
(cat_id, for_id, message) VALUES ('1', '1', 'Here is an example of a reply.')");
!       $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_forum_body 
(cat_id, for_id, message) VALUES ('1', '2', 'Yup, another example')");
!       $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_forum_body 
(cat_id, for_id, message) VALUES ('2', '3', 'I ran out of ideas ... so, heres 
another sample.')");
  
!       $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_forum_threads 
(postdate,main,parent,cat_id,for_id,thread_owner,subject,stat,thread,depth,pos,n_replies)
 VALUES ('2000-12-27 04:19:54', '1', '-1', '1', '1',0, 'Example','0', '1', '0', 
'0', '1')");
!       $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_forum_threads 
(postdate,main,parent,cat_id,for_id,thread_owner,subject,stat,thread,depth,pos,n_replies)
 VALUES ('2000-12-27 04:20:12', '2', '1', '1', '1',0, 'Re: Example','0', '1', 
'1', '1', '1')");
!       $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_forum_threads 
(postdate,main,parent,cat_id,for_id,thread_owner,subject,stat,thread,depth,pos,n_replies)
 VALUES ('2000-12-27 04:21:15', '3', '-1', '1', '2',0, 'Example message','0', 
'3', '0', '0', '0')");
!       $GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_forum_threads 
(postdate,main,parent,cat_id,for_id,thread_owner,subject,stat,thread,depth,pos,n_replies)
 VALUES ('2000-12-27 04:21:58', '4', '-1', '2', '3',0, '','0', '4', '0', '0', 
'0')");




reply via email to

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