]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove dymanic var $mountOptions to fix PHP 8.2 compatibility
authorCôme Chilliet <come.chilliet@nextcloud.com>
Thu, 24 Nov 2022 10:52:07 +0000 (11:52 +0100)
committerCôme Chilliet <come.chilliet@nextcloud.com>
Thu, 24 Nov 2022 10:52:07 +0000 (11:52 +0100)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
apps/files_sharing/lib/SharedStorage.php

index b5c0da9c44212fad435a62c22165728a1ca6a1cc..204b52f872a12c70004c2aab62a62ef0fa438431 100644 (file)
@@ -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;
 
@@ -554,7 +552,6 @@ class SharedStorage extends \OC\Files\Storage\Wrapper\Jail implements ISharedSto
        }
 
        public function setMountOptions(array $options) {
-               $this->mountOptions = $options;
        }
 
        public function getUnjailedPath($path) {