[geeklog-cvs] geeklog: Since the default comment mode is "nested", this should...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Mon May 24 12:39:47 EDT 2010


changeset 7943:25ec534988b1
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/25ec534988b1
user: Dirk Haun <dirk at haun-online.de>
date: Mon May 24 18:03:16 2010 +0200
description:
Since the default comment mode is "nested", this should also be the default for the newly created user accounts

diffstat:

 sql/mssql_tableanddata.php |  2 +-
 sql/mysql_tableanddata.php |  4 ++--
 sql/pgsql_tableanddata.php |  4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diffs (54 lines):

diff -r f81b14c4f67c -r 25ec534988b1 sql/mssql_tableanddata.php
--- a/sql/mssql_tableanddata.php	Mon May 24 17:59:32 2010 +0200
+++ b/sql/mssql_tableanddata.php	Mon May 24 18:03:16 2010 +0200
@@ -1423,7 +1423,7 @@
 $_SQL[] = "INSERT INTO {$_TABLES['topics']} (tid, topic, imageurl, meta_description, meta_keywords, sortnum, limitnews, group_id, owner_id, perm_owner, perm_group, perm_members, perm_anon) VALUES ('Geeklog','Geeklog','/images/topics/topic_gl.gif','A topic that contains posts about Geeklog.','Geeklog, Posts, Information',2,10,6,2,3,2,2,2)";
 
 $_SQL[] = "INSERT INTO {$_TABLES['usercomment']} (uid, commentmode, commentorder, commentlimit) VALUES (1,'nested','ASC',100)";
-$_SQL[] = "INSERT INTO {$_TABLES['usercomment']} (uid, commentmode, commentorder, commentlimit) VALUES (2,'threaded','ASC',100)";
+$_SQL[] = "INSERT INTO {$_TABLES['usercomment']} (uid, commentmode, commentorder, commentlimit) VALUES (2,'nested','ASC',100)";
 
 $_SQL[] = "INSERT INTO {$_TABLES['userindex']} (uid, tids, etids, aids, boxes, noboxes, maxstories) VALUES (1,'','-','','',0,NULL)";
 $_SQL[] = "INSERT INTO {$_TABLES['userindex']} (uid, tids, etids, aids, boxes, noboxes, maxstories) VALUES (2,'','','','',0,NULL)";
diff -r f81b14c4f67c -r 25ec534988b1 sql/mysql_tableanddata.php
--- a/sql/mysql_tableanddata.php	Mon May 24 17:59:32 2010 +0200
+++ b/sql/mysql_tableanddata.php	Mon May 24 18:03:16 2010 +0200
@@ -442,7 +442,7 @@
 $_SQL[] = "
 CREATE TABLE {$_TABLES['usercomment']} (
   uid mediumint(8) NOT NULL default '1',
-  commentmode varchar(10) NOT NULL default 'threaded',
+  commentmode varchar(10) NOT NULL default 'nested',
   commentorder varchar(4) NOT NULL default 'ASC',
   commentlimit mediumint(8) unsigned NOT NULL default '100',
   PRIMARY KEY  (uid)
@@ -704,7 +704,7 @@
 $_DATA[] = "INSERT INTO {$_TABLES['topics']} (tid, topic, imageurl, meta_description, meta_keywords, sortnum, limitnews, group_id, owner_id, perm_owner, perm_group, perm_members, perm_anon) VALUES ('Geeklog','Geeklog','/images/topics/topic_gl.gif','A topic that contains posts about Geeklog.','Geeklog, Posts, Information',2,10,6,2,3,2,2,2)";
 
 $_DATA[] = "INSERT INTO {$_TABLES['usercomment']} (uid, commentmode, commentorder, commentlimit) VALUES (1,'nested','ASC',100) ";
-$_DATA[] = "INSERT INTO {$_TABLES['usercomment']} (uid, commentmode, commentorder, commentlimit) VALUES (2,'threaded','ASC',100) ";
+$_DATA[] = "INSERT INTO {$_TABLES['usercomment']} (uid, commentmode, commentorder, commentlimit) VALUES (2,'nested','ASC',100) ";
 
 $_DATA[] = "INSERT INTO {$_TABLES['userindex']} (uid, tids, etids, aids, boxes, noboxes, maxstories) VALUES (1,'','-','','',0,NULL) ";
 $_DATA[] = "INSERT INTO {$_TABLES['userindex']} (uid, tids, etids, aids, boxes, noboxes, maxstories) VALUES (2,'','','','',0,NULL) ";
diff -r f81b14c4f67c -r 25ec534988b1 sql/pgsql_tableanddata.php
--- a/sql/pgsql_tableanddata.php	Mon May 24 17:59:32 2010 +0200
+++ b/sql/pgsql_tableanddata.php	Mon May 24 18:03:16 2010 +0200
@@ -438,7 +438,7 @@
 $_SQL[] = "
 CREATE TABLE {$_TABLES['usercomment']} (
   uid smallint NOT NULL default '1',
-  commentmode varchar(10) NOT NULL default 'threaded',
+  commentmode varchar(10) NOT NULL default 'nested',
   commentorder varchar(4) NOT NULL default 'ASC',
   commentlimit smallint NOT NULL default '100',
   PRIMARY KEY  (uid)
@@ -719,7 +719,7 @@
 $_DATA[] = "INSERT INTO {$_TABLES['topics']} (tid, topic, imageurl, meta_description, meta_keywords, sortnum, limitnews, group_id, owner_id, perm_owner, perm_group, perm_members, perm_anon) VALUES ('Geeklog','Geeklog','/images/topics/topic_gl.gif','A topic that contains posts about Geeklog.','Geeklog, Posts, Information',2,10,6,2,3,2,2,2)";
 
 $_DATA[] = "INSERT INTO {$_TABLES['usercomment']} (uid, commentmode, commentorder, commentlimit) VALUES (1,'nested','ASC',100) ";
-$_DATA[] = "INSERT INTO {$_TABLES['usercomment']} (uid, commentmode, commentorder, commentlimit) VALUES (2,'threaded','ASC',100) ";
+$_DATA[] = "INSERT INTO {$_TABLES['usercomment']} (uid, commentmode, commentorder, commentlimit) VALUES (2,'nested','ASC',100) ";
 
 $_DATA[] = "INSERT INTO {$_TABLES['userindex']} (uid, tids, etids, aids, boxes, noboxes, maxstories) VALUES (1,'','-','0','0',0,0) ";
 $_DATA[] = "INSERT INTO {$_TABLES['userindex']} (uid, tids, etids, aids, boxes, noboxes, maxstories) VALUES (2,'','','0','0',0,0) ";



More information about the geeklog-cvs mailing list