Put back the variable but make sure it is properly declared

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet 2022-12-05 11:51:16 +01:00
parent 26033653a8
commit 3bcb4fc024
No known key found for this signature in database
GPG key ID: A3E2F658B28C760A

View file

@ -88,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;
@ -551,7 +551,12 @@ 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;
}
public function getUnjailedPath($path) {