summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-08-16 15:44:26 +0200
committerRobin Appelman <robin@icewind.nl>2016-08-17 11:54:33 +0200
commit9f523518f342cb30f8f51d0d12aff33246e406ab (patch)
tree5a1bbc3239aae03e380990d8bf69a02e8ccc1f2a
parent6dc956b1923fbb4071d481f32e6fc8d32fd41ed2 (diff)
downloadnextcloud-server-9f523518f342cb30f8f51d0d12aff33246e406ab.tar.gz
nextcloud-server-9f523518f342cb30f8f51d0d12aff33246e406ab.zip
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.
-rw-r--r--lib/private/legacy/util.php2
1 files changed, 1 insertions, 1 deletions
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;