mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-20 01:48:01 +02:00
set the default account_id again
This commit is contained in:
parent
9dfd13af5e
commit
93c2a3f15d
@ -229,6 +229,7 @@
|
|||||||
{
|
{
|
||||||
$this->account_id = $phpgw->accounts->name2id($this->account_lid);
|
$this->account_id = $phpgw->accounts->name2id($this->account_lid);
|
||||||
}
|
}
|
||||||
|
$phpgw_info['user']['account_id'] = $this->account_id;
|
||||||
$phpgw->accounts->account_id = $this->account_id;
|
$phpgw->accounts->account_id = $this->account_id;
|
||||||
|
|
||||||
$this->sessionid = md5($phpgw->common->randomstring(10));
|
$this->sessionid = md5($phpgw->common->randomstring(10));
|
||||||
@ -329,7 +330,6 @@
|
|||||||
function read_repositories()
|
function read_repositories()
|
||||||
{
|
{
|
||||||
global $phpgw, $phpgw_info;
|
global $phpgw, $phpgw_info;
|
||||||
$phpgw_info['user']['account_id'] = $this->account_id;
|
|
||||||
$phpgw->acl->acl($this->account_id);
|
$phpgw->acl->acl($this->account_id);
|
||||||
$phpgw->accounts->accounts($this->account_id);
|
$phpgw->accounts->accounts($this->account_id);
|
||||||
$phpgw->preferences->preferences($this->account_id);
|
$phpgw->preferences->preferences($this->account_id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user