Skip to content

Commit 4147e12

Browse files
authored
Merge pull request #32152 from nextcloud/bugfix/32151/allow-compatibility-wrapper-local-ext-storage
Allow compatibility wrapper on local external storage
2 parents c752405 + 23403ef commit 4147e12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Files/SetupManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ private function setupBuiltinWrappers() {
147147
});
148148

149149
Filesystem::addStorageWrapper('oc_encoding', function ($mountPoint, IStorage $storage, IMountPoint $mount) {
150-
if ($mount->getOption('encoding_compatibility', false) && !$storage->instanceOfStorage('\OCA\Files_Sharing\SharedStorage') && !$storage->isLocal()) {
150+
if ($mount->getOption('encoding_compatibility', false) && !$storage->instanceOfStorage('\OCA\Files_Sharing\SharedStorage')) {
151151
return new Encoding(['storage' => $storage]);
152152
}
153153
return $storage;

0 commit comments

Comments
 (0)