mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-28 00:39:19 +01:00
better way of handling preferences
This commit is contained in:
parent
4249f50a03
commit
d674b1e46b
@ -192,9 +192,7 @@
|
||||
Header("Location: " . $this->redirect($this->link($this->db->f("config_value")."/login.php","cd=10")));
|
||||
exit;
|
||||
}
|
||||
$this->preferences->preference = $phpgw_info["user"]["preferences"];
|
||||
$this->preferences->account_id = $phpgw_info["user"]["account_id"];
|
||||
|
||||
$this->preferences = new preferences($phpgw_info["user"]["account_id"]);
|
||||
}
|
||||
|
||||
$this->translation = new translation;
|
||||
|
Loading…
Reference in New Issue
Block a user