From 3c2de97ab10db50fd8b749539e42de144845a884 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Tue, 16 Aug 2016 15:44:26 +0200 Subject: [PATCH] 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. --- lib/private/legacy/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/legacy/util.php b/lib/private/legacy/util.php index 83274f82792..a1102630755 100644 --- a/lib/private/legacy/util.php +++ b/lib/private/legacy/util.php @@ -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; -- 2.39.5