Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-05-05 09:18:52 +0300
committerGitHub <noreply@github.com>2022-05-05 09:18:52 +0300
commit4147e1233aabeddfccfff019e865658f9758ae3d (patch)
tree343c190d005da91bdc4d397f6b75652282cf7544 /lib/private/Files
parentc752405fff6a3b8cdb580bb87cdcaa5dc3f1bee2 (diff)
parent23403ef693d3c26f5ac4398daa6e531b69d42d94 (diff)
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/private/Files')
-rw-r--r--lib/private/Files/SetupManager.php2
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;