From 26033653a8f291b755da5d5df257c766f1a84210 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=B4me=20Chilliet?= Date: Thu, 24 Nov 2022 11:52:07 +0100 Subject: [PATCH] Remove dymanic var $mountOptions to fix PHP 8.2 compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- apps/files_sharing/lib/SharedStorage.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/files_sharing/lib/SharedStorage.php b/apps/files_sharing/lib/SharedStorage.php index b5c0da9c442..204b52f872a 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; @@ -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) { -- 2.39.5