diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2022-08-04 11:42:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-04 11:42:56 +0200 |
commit | d81e38d296c62c8f4e43f3c1547198a2e9514bc1 (patch) | |
tree | f6d60ad4a77068b2f17b91b85d0ce70d356170f1 | |
parent | d70c7ecc7b94dea60022013181526665f0e8d462 (diff) | |
parent | 4f86a5051f122e81c1288da511b6edb3cd9982d7 (diff) | |
download | nextcloud-server-d81e38d296c62c8f4e43f3c1547198a2e9514bc1.tar.gz nextcloud-server-d81e38d296c62c8f4e43f3c1547198a2e9514bc1.zip |
Merge pull request #32273 from nextcloud/backport/32152/stable24
[stable24] Allow compatibility wrapper on local external storage
-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 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; |