mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
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
This commit is contained in:
commit
f95aa23356
1 changed files with 5 additions and 3 deletions
|
|
@ -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…
Reference in a new issue