summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-12-05 11:51:16 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-12-05 11:51:16 +0100
commit3bcb4fc024b7ba7589503db2dd17bc2ac933a245 (patch)
tree51e97aeaaecd58fb1b2cef882509ea6b73d5d773 /apps
parent26033653a8f291b755da5d5df257c766f1a84210 (diff)
downloadnextcloud-server-3bcb4fc024b7ba7589503db2dd17bc2ac933a245.tar.gz
nextcloud-server-3bcb4fc024b7ba7589503db2dd17bc2ac933a245.zip
Put back the variable but make sure it is properly declared
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/lib/SharedStorage.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/SharedStorage.php b/apps/files_sharing/lib/SharedStorage.php
index 204b52f872a..2c1ddf9af4a 100644
--- a/apps/files_sharing/lib/SharedStorage.php
+++ b/apps/files_sharing/lib/SharedStorage.php
@@ -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) {