set the default account_id again

This commit is contained in:
skeeter 2001-03-21 05:51:33 +00:00
parent 9dfd13af5e
commit 93c2a3f15d

View File

@ -229,6 +229,7 @@
{
$this->account_id = $phpgw->accounts->name2id($this->account_lid);
}
$phpgw_info['user']['account_id'] = $this->account_id;
$phpgw->accounts->account_id = $this->account_id;
$this->sessionid = md5($phpgw->common->randomstring(10));
@ -329,7 +330,6 @@
function read_repositories()
{
global $phpgw, $phpgw_info;
$phpgw_info['user']['account_id'] = $this->account_id;
$phpgw->acl->acl($this->account_id);
$phpgw->accounts->accounts($this->account_id);
$phpgw->preferences->preferences($this->account_id);