mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 10:23:28 +01:00
* CalDAV: fixed wrong http-status for delete in inbox and announce sync-report on inbox, so clients using it get events only once
This commit is contained in:
parent
eca96a4411
commit
d25f9dce25
@ -1429,8 +1429,8 @@ class calendar_groupdav extends groupdav_handler
|
||||
HTTP_WebDAV_Server::mkprop('report',array(
|
||||
HTTP_WebDAV_Server::mkprop(groupdav::CALDAV,'free-busy-query',''))))),
|
||||
);
|
||||
// rfc 6578 sync-collection report, not for inbox, as we dont report accepted events as deleted, because we filter!
|
||||
if (!preg_match('#/(inbox|outbox)/#', $path))
|
||||
// rfc 6578 sync-collection report for everything but outbox
|
||||
if (strpos($path, '/outbox/') === false)
|
||||
{
|
||||
$props['supported-report-set']['sync-collection'] = HTTP_WebDAV_Server::mkprop('supported-report',array(
|
||||
HTTP_WebDAV_Server::mkprop('report',array(
|
||||
|
@ -1556,6 +1556,11 @@ class groupdav extends HTTP_WebDAV_Server
|
||||
{
|
||||
$user_prefix = '/'.$user;
|
||||
$user = $account_id;
|
||||
// /<currentuser>/inbox/
|
||||
if ($user == $GLOBALS['egw_info']['user']['account_id'] && $app == 'inbox')
|
||||
{
|
||||
$app = 'calendar';
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user