diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-05-05 08:18:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-05 08:18:52 +0200 |
commit | 4147e1233aabeddfccfff019e865658f9758ae3d (patch) | |
tree | 343c190d005da91bdc4d397f6b75652282cf7544 /lib | |
parent | c752405fff6a3b8cdb580bb87cdcaa5dc3f1bee2 (diff) | |
parent | 23403ef693d3c26f5ac4398daa6e531b69d42d94 (diff) | |
download | nextcloud-server-4147e1233aabeddfccfff019e865658f9758ae3d.tar.gz nextcloud-server-4147e1233aabeddfccfff019e865658f9758ae3d.zip |
Merge pull request #32152 from nextcloud/bugfix/32151/allow-compatibility-wrapper-local-ext-storage
Allow compatibility wrapper on local external storage
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/SetupManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/SetupManager.php b/lib/private/Files/SetupManager.php index 9fb7b030e1d..040ba6b898f 100644 --- a/lib/private/Files/SetupManager.php +++ b/lib/private/Files/SetupManager.php @@ -147,7 +147,7 @@ class SetupManager { }); Filesystem::addStorageWrapper('oc_encoding', function ($mountPoint, IStorage $storage, IMountPoint $mount) { - if ($mount->getOption('encoding_compatibility', false) && !$storage->instanceOfStorage('\OCA\Files_Sharing\SharedStorage') && !$storage->isLocal()) { + if ($mount->getOption('encoding_compatibility', false) && !$storage->instanceOfStorage('\OCA\Files_Sharing\SharedStorage')) { return new Encoding(['storage' => $storage]); } return $storage; |