summaryrefslogtreecommitdiff
path: root/database/database.pgsql
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-09-10 19:30:34 +0000
committerDries Buytaert <dries@buytaert.net>2003-09-10 19:30:34 +0000
commitb9633dcdede3dcc3e9466382dbed6b1fb7603bee (patch)
tree4f8afec588da7d6e1cc9f756a0953c91410d6229 /database/database.pgsql
parent81591038cb845c13286b74adbeac3665fcf3aff9 (diff)
downloadbrdo-b9633dcdede3dcc3e9466382dbed6b1fb7603bee.tar.gz
brdo-b9633dcdede3dcc3e9466382dbed6b1fb7603bee.tar.bz2
- Patch by Bart Jansen:
<quote> This adds session support for anonymous users and fixes a bug/typo. 1. changed rid for user #0 from 0 to 1 (rid 1 == anonymous user) to make inner join work. 2. replaced "if ($user .." by "if ($user->uid .." because now $user is always set (my previous change probably caused this). 3. db_next_id("user_uid") -> db_next_id("users_uid"); </quote> I repeat: "This adds session support for anonymous users and fixes a bug/typo."
Diffstat (limited to 'database/database.pgsql')
-rw-r--r--database/database.pgsql2
1 files changed, 1 insertions, 1 deletions
diff --git a/database/database.pgsql b/database/database.pgsql
index 5bffed0c7..559293d17 100644
--- a/database/database.pgsql
+++ b/database/database.pgsql
@@ -580,7 +580,7 @@ INSERT INTO system VALUES ('themes/marvin/marvin.theme','marvin','theme','Intern
INSERT INTO variable(name,value) VALUES('update_start', 's:10:"2003-04-19";');
INSERT INTO variable(name,value) VALUES('theme_default','s:6:"marvin";');
-INSERT INTO users(uid,name,mail) VALUES(0,'Anonymous','root@localhost');
+INSERT INTO users(uid,name,mail,rid) VALUES(0,'Anonymous','root@localhost', '1');
INSERT INTO blocks(module,delta,status) VALUES('user', '0', '1');
INSERT INTO blocks(module,delta,status) VALUES('user', '1', '1');