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:
authorblizzz <blizzz@arthur-schiwon.de>2022-08-04 12:42:56 +0300
committerGitHub <noreply@github.com>2022-08-04 12:42:56 +0300
commitd81e38d296c62c8f4e43f3c1547198a2e9514bc1 (patch)
treef6d60ad4a77068b2f17b91b85d0ce70d356170f1
parentd70c7ecc7b94dea60022013181526665f0e8d462 (diff)
parent4f86a5051f122e81c1288da511b6edb3cd9982d7 (diff)
Merge pull request #32273 from nextcloud/backport/32152/stable24
[stable24] Allow compatibility wrapper on local external storage
-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 d7d421a4fe5..5782a5a72a6 100644
--- a/lib/private/Files/SetupManager.php
+++ b/lib/private/Files/SetupManager.php
@@ -157,7 +157,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;