mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 11:55:24 +00:00
Monotone-Parent: 158995d6d9ca56c5ab12433a2f5c0af126b30063
Monotone-Revision: ceb58ef8a4e1a2df559ca423d8360320532099a1 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-11-17T22:24:04 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -8,6 +8,7 @@ DB_PASS="sogo"
|
||||
DB_HOST="192.168.0.4"
|
||||
DB_PORT="5432"
|
||||
DB_NAME="sogo"
|
||||
TIMEZONE="Canada/Eastern"
|
||||
|
||||
|
||||
while [ "$1" != "" ]; do
|
||||
@@ -121,6 +122,18 @@ CREATE TABLE SOGo_${USER_TABLE}_contacts (
|
||||
c_version INT NOT NULL -- version counter
|
||||
);
|
||||
|
||||
DELETE FROM SOGo_user_profile WHERE uid = '${USER_ID}';
|
||||
|
||||
INSERT INTO SOGo_user_profile (
|
||||
uid,
|
||||
allowinternet,
|
||||
timezonename,
|
||||
calendaruids
|
||||
)
|
||||
VALUES (
|
||||
'${USER_ID}', 1, '${TIMEZONE}', '${USER_ID}'
|
||||
);
|
||||
|
||||
EOF
|
||||
shift
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user