From: Côme Chilliet Date: Thu, 24 Nov 2022 10:52:07 +0000 (+0100) Subject: Remove dymanic var $mountOptions to fix PHP 8.2 compatibility X-Git-Tag: v26.0.0beta1~289^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=26033653a8f291b755da5d5df257c766f1a84210;p=nextcloud-server.git Remove dymanic var $mountOptions to fix PHP 8.2 compatibility Signed-off-by: Côme Chilliet --- 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) {