@@ -53,7 +53,6 @@ class FilesPlugin extends ServerPlugin {
5353 public const HAS_PREVIEW_PROPERTYNAME = '{http://nextcloud.org/ns}has-preview ' ;
5454 public const MOUNT_TYPE_PROPERTYNAME = '{http://nextcloud.org/ns}mount-type ' ;
5555 public const MOUNT_ROOT_PROPERTYNAME = '{http://nextcloud.org/ns}is-mount-root ' ;
56- public const IS_ENCRYPTED_PROPERTYNAME = '{http://nextcloud.org/ns}is-encrypted ' ;
5756 public const METADATA_ETAG_PROPERTYNAME = '{http://nextcloud.org/ns}metadata_etag ' ;
5857 public const UPLOAD_TIME_PROPERTYNAME = '{http://nextcloud.org/ns}upload_time ' ;
5958 public const CREATION_TIME_PROPERTYNAME = '{http://nextcloud.org/ns}creation_time ' ;
@@ -121,7 +120,6 @@ public function initialize(Server $server) {
121120 $ server ->protectedProperties [] = self ::DATA_FINGERPRINT_PROPERTYNAME ;
122121 $ server ->protectedProperties [] = self ::HAS_PREVIEW_PROPERTYNAME ;
123122 $ server ->protectedProperties [] = self ::MOUNT_TYPE_PROPERTYNAME ;
124- $ server ->protectedProperties [] = self ::IS_ENCRYPTED_PROPERTYNAME ;
125123 $ server ->protectedProperties [] = self ::SHARE_NOTE ;
126124
127125 // normally these cannot be changed (RFC4918), but we want them modifiable through PROPPATCH
@@ -419,10 +417,6 @@ public function handleGetProperties(PropFind $propFind, \Sabre\DAV\INode $node)
419417 return $ node ->getSize ();
420418 });
421419
422- $ propFind ->handle (self ::IS_ENCRYPTED_PROPERTYNAME , function () use ($ node ) {
423- return $ node ->getFileInfo ()->isEncrypted () ? '1 ' : '0 ' ;
424- });
425-
426420 $ requestProperties = $ propFind ->getRequestedProperties ();
427421
428422 if (in_array (self ::SUBFILE_COUNT_PROPERTYNAME , $ requestProperties , true )
0 commit comments