]> source.dussan.org Git - nextcloud-server.git/commitdiff
Put back the variable but make sure it is properly declared 35400/head
authorCôme Chilliet <come.chilliet@nextcloud.com>
Mon, 5 Dec 2022 10:51:16 +0000 (11:51 +0100)
committerCôme Chilliet <come.chilliet@nextcloud.com>
Mon, 5 Dec 2022 10:51:16 +0000 (11:51 +0100)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
apps/files_sharing/lib/SharedStorage.php

index 204b52f872a12c70004c2aab62a62ef0fa438431..2c1ddf9af4ab70624b2612f80523452431822a2c 100644 (file)
@@ -88,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;
@@ -551,7 +551,12 @@ 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;
        }
 
        public function getUnjailedPath($path) {