Browse Source

Put back the variable but make sure it is properly declared

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
tags/v26.0.0beta1
Côme Chilliet 1 year ago
parent
commit
3bcb4fc024
No account linked to committer's email address
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      apps/files_sharing/lib/SharedStorage.php

+ 6
- 1
apps/files_sharing/lib/SharedStorage.php 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) {

Loading…
Cancel
Save