diff options
author | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2022-12-05 17:57:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-05 17:57:46 +0100 |
commit | f95aa233560b4234ee14f975d49ff19ac989b40e (patch) | |
tree | b4ff14bdfd8baa5b7a174b18c17cb531d398b4af /apps/files_sharing/lib | |
parent | 8c59ba41f51f74381152708eb236bc76f9c2199d (diff) | |
parent | 3bcb4fc024b7ba7589503db2dd17bc2ac933a245 (diff) | |
download | nextcloud-server-f95aa233560b4234ee14f975d49ff19ac989b40e.tar.gz nextcloud-server-f95aa233560b4234ee14f975d49ff19ac989b40e.zip |
Merge pull request #35400 from nextcloud/fix/remove-unused-dynamic-var-in-files_sharing
Fix name of dymanic var $mountOptions to fix PHP 8.2 compatibility
Diffstat (limited to 'apps/files_sharing/lib')
-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; } |