diff options
-rw-r--r-- | apps/files_sharing/lib/SharedStorage.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/files_sharing/lib/SharedStorage.php b/apps/files_sharing/lib/SharedStorage.php index b5c0da9c442..2c1ddf9af4a 100644 --- a/apps/files_sharing/lib/SharedStorage.php +++ b/apps/files_sharing/lib/SharedStorage.php @@ -52,7 +52,6 @@ use OCP\Files\IRootFolder; use OCP\Files\NotFoundException; use OCP\Files\Storage\IDisableEncryptionStorage; use OCP\Files\Storage\IStorage; -use OCP\IUserManager; use OCP\Lock\ILockingProvider; use OCP\Share\IShare; @@ -60,7 +59,6 @@ use OCP\Share\IShare; * Convert target path to source path and pass the function call to the correct storage provider */ class SharedStorage extends \OC\Files\Storage\Wrapper\Jail implements ISharedStorage, IDisableEncryptionStorage { - /** @var \OCP\Share\IShare */ private $superShare; @@ -90,7 +88,7 @@ class SharedStorage extends \OC\Files\Storage\Wrapper\Jail implements ISharedSto /** @var IStorage */ private $nonMaskedStorage; - private $options; + private array $mountOptions = []; /** @var boolean */ private $sharingDisabledForUser; @@ -553,7 +551,11 @@ class SharedStorage extends \OC\Files\Storage\Wrapper\Jail implements ISharedSto return parent::file_put_contents($path, $data); } + /** + * @return void + */ public function setMountOptions(array $options) { + /* Note: This value is never read */ $this->mountOptions = $options; } |