Author: kn
Date: Fri Oct 12 12:09:01 2007
New Revision: 6436
Log:
- Send more (empty) properties by default
Modified:
trunk/Webdav/src/backends/file.php
Modified: trunk/Webdav/src/backends/file.php
==============================================================================
--- trunk/Webdav/src/backends/file.php [iso-8859-1] (original)
+++ trunk/Webdav/src/backends/file.php [iso-8859-1] Fri Oct 12 12:09:01 2007
@@ -54,7 +54,9 @@
'displayname',
'getetag',
'getcontenttype',
- 'resourcetype'
+ 'resourcetype',
+ 'supportedlock',
+ 'lockdiscovery',
);
/**
@@ -541,6 +543,14 @@
$property->type = $this->isCollection( $resource ) ?
ezcWebdavResourceTypeProperty::TYPE_COLLECTION :
ezcWebdavResourceTypeProperty::TYPE_RESSOURCE;
+ return $property;
+
+ case 'supportedlock':
+ $property = new ezcWebdavSupportedLockProperty();
+ return $property;
+
+ case 'lockdiscovery':
+ $property = new ezcWebdavLockDiscoveryProperty();
return $property;
default:
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components