[geeklog-cvs] geeklog: new users fixed
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Tue Jan 26 15:53:48 EST 2010
changeset 7639:63576c4ff14f
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/63576c4ff14f
user: stan <yankees26an at gmail.com>
date: Mon Jul 20 17:46:05 2009 -0400
description:
new users fixed
diffstat:
sql/pgsql_tableanddata.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r 5d77f1b1c408 -r 63576c4ff14f sql/pgsql_tableanddata.php
--- a/sql/pgsql_tableanddata.php Mon Jul 20 15:49:29 2009 -0400
+++ b/sql/pgsql_tableanddata.php Mon Jul 20 17:46:05 2009 -0400
@@ -724,8 +724,8 @@
# Dumping data for table 'users'
#
-$_DATA[] = "INSERT INTO {$_TABLES['users']} (uid, username, fullname, passwd, email, homepage, sig, regdate, cookietimeout, theme, status) VALUES (1,'Anonymous','Anonymous','',NULL,NULL,'',NOW(),0,NULL,3) ";
-$_DATA[] = "INSERT INTO {$_TABLES['users']} (uid, username, fullname, passwd, email, homepage, sig, regdate, cookietimeout, theme, status) VALUES (2,'Admin','Geeklog SuperUser','5f4dcc3b5aa765d61d8327deb882cf99','root at localhost','http://www.geeklog.net/','',NOW(),28800,NULL,3) ";
+$_DATA[] = "INSERT INTO {$_TABLES['users']} (uid, username, fullname, passwd, email, homepage, sig, regdate, cookietimeout, theme, status) VALUES ((SELECT NEXTVAL('{$_TABLES['users']}_uid_seq')),'Anonymous','Anonymous','',NULL,NULL,'',NOW(),0,NULL,3) ";
+$_DATA[] = "INSERT INTO {$_TABLES['users']} (uid, username, fullname, passwd, email, homepage, sig, regdate, cookietimeout, theme, status) VALUES ((SELECT NEXTVAL('{$_TABLES['users']}_uid_seq')),'Admin','Geeklog SuperUser','5f4dcc3b5aa765d61d8327deb882cf99','root at localhost','http://www.geeklog.net/','',NOW(),28800,NULL,3) ";
$_DATA[] = "INSERT INTO {$_TABLES['vars']} (name, value) VALUES ('totalhits','0') ";
$_DATA[] = "INSERT INTO {$_TABLES['vars']} (name, value) VALUES ('lastemailedstories','') ";
More information about the geeklog-cvs
mailing list