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
pull/35568/head
Côme Chilliet 2 years ago committed by GitHub
commit f95aa23356
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;
}

Loading…
Cancel
Save