mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-25 06:31:59 +01:00
as the pricipal of current user is influenced by GroupDAV prefs, we have to include them in the etag
This commit is contained in:
parent
449a355f2a
commit
261b4521c8
@ -530,6 +530,9 @@ class groupdav_principals extends groupdav_handler
|
||||
{
|
||||
$account = $this->read($account);
|
||||
}
|
||||
return 'EGw-'.$account['account_id'].':'.md5(serialize($account)).'-wGE';
|
||||
return 'EGw-'.$account['account_id'].':'.md5(serialize($account)).
|
||||
// as the pricipal of current user is influenced by GroupDAV prefs, we have to include them in the etag
|
||||
($account['account_id'] == $GLOBALS['egw_info']['user']['account_id'] ?
|
||||
':'.md5(serialize($GLOBALS['egw_info']['user']['preferences']['groupdav'])) : '').'-wGE';
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user