mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:07 +01:00
Changed the format for the preference table
This commit is contained in:
parent
dcceb352ce
commit
58cf8a21b0
@ -52,19 +52,19 @@ create table groups (
|
||||
insert into groups (group_name) values ('Default');
|
||||
|
||||
CREATE TABLE preferences (
|
||||
owner varchar(20),
|
||||
name varchar(50),
|
||||
value varchar(50)
|
||||
preference_owner varchar(20),
|
||||
preference_name varchar(50),
|
||||
preference_value varchar(50),
|
||||
preference_appname varchar(50)
|
||||
);
|
||||
|
||||
insert into preferences values ('demo','maxmatchs','10');
|
||||
insert into preferences values ('demo','mainscreen_showbirthdays','True');
|
||||
insert into preferences values ('demo','mainscreen_showevents','True');
|
||||
insert into preferences values ('demo','timeformat','12');
|
||||
insert into preferences values ('demo','dateformat','m/d/Y');
|
||||
insert into preferences values ('demo','theme','default');
|
||||
insert into preferences values ('demo','tz_offset','0');
|
||||
|
||||
insert into preferences values ('demo','maxmatchs','10','');
|
||||
insert into preferences values ('demo','mainscreen_showbirthdays','True','');
|
||||
insert into preferences values ('demo','mainscreen_showevents','True','');
|
||||
insert into preferences values ('demo','timeformat','12','');
|
||||
insert into preferences values ('demo','dateformat','m/d/Y','');
|
||||
insert into preferences values ('demo','theme','default','');
|
||||
insert into preferences values ('demo','tz_offset','0','');
|
||||
|
||||
CREATE TABLE sessions (
|
||||
sessionid varchar(255) NOT NULL,
|
||||
|
@ -254,8 +254,7 @@
|
||||
|
||||
<?php
|
||||
} else {
|
||||
$phpgw->db->query("delete from preferences where owner='" . $phpgw_info["user"]["userid"]
|
||||
. "' AND name != 'theme'");
|
||||
$phpgw->common->preferences_delete("notheme",$phpgw_info["user"]["userid"]);
|
||||
|
||||
// If they don't have permissions to the headlines,
|
||||
// we don't need to lock the table.
|
||||
|
Loading…
Reference in New Issue
Block a user