mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -04:00
Merge pull request #32152 from nextcloud/bugfix/32151/allow-compatibility-wrapper-local-ext-storage
Allow compatibility wrapper on local external storage
This commit is contained in:
commit
4147e1233a
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue