Disable NFD encoding wrapper by default

Seems I forgot to set it back to false after testing.
Will give a performance boost for all storages.
This commit is contained in:
Vincent Petry 2016-08-16 15:44:26 +02:00 committed by Robin Appelman
parent 29e45dd5ba
commit 3c2de97ab1
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ class OC_Util {
});
\OC\Files\Filesystem::addStorageWrapper('oc_encoding', function ($mountPoint, \OCP\Files\Storage $storage, \OCP\Files\Mount\IMountPoint $mount) {
if ($mount->getOption('encoding_compatibility', true) && !$storage->instanceOfStorage('\OC\Files\Storage\Shared') && !$storage->isLocal()) {
if ($mount->getOption('encoding_compatibility', false) && !$storage->instanceOfStorage('\OC\Files\Storage\Shared') && !$storage->isLocal()) {
return new \OC\Files\Storage\Wrapper\Encoding(['storage' => $storage]);
}
return $storage;