mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 20:01:36 +02:00
now allows changing of preference values
This commit is contained in:
parent
1c61949d9c
commit
a329803c8e
@ -184,7 +184,10 @@
|
|||||||
include($phpgw_info["server"]["api_inc"] . "/phpgw_accounts_".$phpgw_info["server"]["account_repository"].".inc.php");
|
include($phpgw_info["server"]["api_inc"] . "/phpgw_accounts_".$phpgw_info["server"]["account_repository"].".inc.php");
|
||||||
include($phpgw_info["server"]["api_inc"] . "/phpgw_accounts_shared.inc.php");
|
include($phpgw_info["server"]["api_inc"] . "/phpgw_accounts_shared.inc.php");
|
||||||
$this->auth = new auth;
|
$this->auth = new auth;
|
||||||
$this->preferences = new preferences($phpgw_info["user"]["account_lid"]);
|
$this->preferences = new preferences();
|
||||||
|
$this->preferences->preferences = $phpgw_info["user"]["preferences"];
|
||||||
|
$this->preferences->account_id = $phpgw_info["user"]["account_id"];
|
||||||
|
|
||||||
}
|
}
|
||||||
$this->accounts = new accounts;
|
$this->accounts = new accounts;
|
||||||
$this->translation = new translation;
|
$this->translation = new translation;
|
||||||
|
@ -77,6 +77,8 @@
|
|||||||
if (! $phpgw_info["user"]["userid"] ) {
|
if (! $phpgw_info["user"]["userid"] ) {
|
||||||
return False;
|
return False;
|
||||||
} else {
|
} else {
|
||||||
|
$phpgw->preferences->preferences = $phpgw_info["user"]["preferences"];
|
||||||
|
$phpgw->preferences->account_id = $phpgw_info["user"]["account_id"];
|
||||||
return True;
|
return True;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user