changed builtin normalizer to \OC_Util::normalizeUnicode

This commit is contained in:
Florin Peter 2013-05-24 20:36:20 +02:00
parent 661b5501b0
commit 736f10039d
2 changed files with 3 additions and 9 deletions

View file

@ -566,11 +566,6 @@ class Cache {
*/
public function normalize($path) {
//normalize unicode if possible
if (class_exists('Normalizer')) {
$path = \Normalizer::normalize($path);
}
return $path;
return \OC_Util::normalizeUnicode($path);
}
}

View file

@ -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;
}