aboutsummaryrefslogtreecommitdiffstats
path: root/lib/files/filesystem.php
diff options
context:
space:
mode:
authorFlorin Peter <github@florin-peter.de>2013-05-24 20:36:20 +0200
committerFlorin Peter <github@florin-peter.de>2013-05-24 20:36:20 +0200
commit736f10039dd1b494966f1214916dc62119478176 (patch)
tree56692bc7ae84fbd447886ea440f6790220e6394d /lib/files/filesystem.php
parent661b5501b0e3f456d3a56d72e342074062ded0e8 (diff)
downloadnextcloud-server-736f10039dd1b494966f1214916dc62119478176.tar.gz
nextcloud-server-736f10039dd1b494966f1214916dc62119478176.zip
changed builtin normalizer to \OC_Util::normalizeUnicode
Diffstat (limited to 'lib/files/filesystem.php')
-rw-r--r--lib/files/filesystem.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/files/filesystem.php b/lib/files/filesystem.php
index d60d430d77c..5d7565f0d83 100644
--- a/lib/files/filesystem.php
+++ b/lib/files/filesystem.php
@@ -616,9 +616,8 @@ class Filesystem {
$path = substr($path, 0, -1);
}
//normalize unicode if possible
- if (class_exists('Normalizer')) {
- $path = \Normalizer::normalize($path);
- }
+ $path = \OC_Util::normalizeUnicode($path);
+
return $path;
}