mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-21 18:31:37 +02:00
do not show warning of force Depth: 0, if depth is already 0
This commit is contained in:
parent
e6cfa64686
commit
559d0ee15c
@ -417,7 +417,8 @@ class groupdav extends HTTP_WebDAV_Server
|
|||||||
$this->_slashify($options['path']));
|
$this->_slashify($options['path']));
|
||||||
|
|
||||||
// Hack for iOS 5.0.1 addressbook to stop asking directory gateway permissions with depth=1
|
// Hack for iOS 5.0.1 addressbook to stop asking directory gateway permissions with depth=1
|
||||||
if ($method == 'PROPFIND' && $options['path'] == '/addressbook/' && $handler->get_agent() == 'dataaccess')
|
if ($method == 'PROPFIND' && $options['path'] == '/addressbook/' &&
|
||||||
|
$options['depth'] > 0 && $handler->get_agent() == 'dataaccess')
|
||||||
{
|
{
|
||||||
$this->log(__CLASS__."::$method(".array2string($options).') Enabling hack for iOS 5.0.1 addressbook: force Depth: 0 on PROPFIND for directory gateway!');
|
$this->log(__CLASS__."::$method(".array2string($options).') Enabling hack for iOS 5.0.1 addressbook: force Depth: 0 on PROPFIND for directory gateway!');
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user