mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-23 06:19:09 +01:00
fixed wrong value for current-user-pricipal
This commit is contained in:
parent
b4fed2873b
commit
65a47aa477
@ -123,7 +123,7 @@ class groupdav_principals extends groupdav_handler
|
|||||||
// add /pricipals/users/ entry
|
// add /pricipals/users/ entry
|
||||||
$files[] = $this->add_collection('/principals/users/',array(
|
$files[] = $this->add_collection('/principals/users/',array(
|
||||||
HTTP_WebDAV_Server::mkprop('current-user-principal',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'])
|
if ($options['depth'])
|
||||||
{
|
{
|
||||||
@ -178,7 +178,7 @@ class groupdav_principals extends groupdav_handler
|
|||||||
// add /pricipals/users/ entry
|
// add /pricipals/users/ entry
|
||||||
$files[] = $this->add_collection('/principals/groups/',array(
|
$files[] = $this->add_collection('/principals/groups/',array(
|
||||||
HTTP_WebDAV_Server::mkprop('current-user-principal',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'])
|
if ($options['depth'])
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user