mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
fixed wrong value for current-user-pricipal
This commit is contained in:
parent
2a2a9f5f11
commit
42e3a50e8f
@ -124,7 +124,7 @@ class groupdav_principals extends groupdav_handler
|
||||
// add /pricipals/users/ entry
|
||||
$files[] = $this->add_collection('/principals/users/',array(
|
||||
HTTP_WebDAV_Server::mkprop('current-user-principal',array(
|
||||
HTTP_WebDAV_Server::mkprop('href',$this->base_uri.'/principals/'.$GLOBALS['egw_info']['user']['account_lid'].'/'))),
|
||||
HTTP_WebDAV_Server::mkprop('href',$this->base_uri.'/principals/users/'.$GLOBALS['egw_info']['user']['account_lid'].'/'))),
|
||||
));
|
||||
if ($options['depth'])
|
||||
{
|
||||
@ -179,7 +179,7 @@ class groupdav_principals extends groupdav_handler
|
||||
// add /pricipals/users/ entry
|
||||
$files[] = $this->add_collection('/principals/groups/',array(
|
||||
HTTP_WebDAV_Server::mkprop('current-user-principal',array(
|
||||
HTTP_WebDAV_Server::mkprop('href',$this->base_uri.'/principals/'.$GLOBALS['egw_info']['user']['account_lid'].'/'))),
|
||||
HTTP_WebDAV_Server::mkprop('href',$this->base_uri.'/principals/users/'.$GLOBALS['egw_info']['user']['account_lid'].'/'))),
|
||||
));
|
||||
if ($options['depth'])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user