[Pkg-owncloud-commits] [owncloud] 10/239: Use \Patchwork\Utf8\Bootup::initLocale

David Prévot taffit at moszumanska.debian.org
Fri Nov 29 01:32:11 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit bcf56b04078f4a8b9381f110c379b0d33d0db48c
Author: Bart Visscher <bartv at thisnet.nl>
Date:   Fri Nov 15 13:06:35 2013 +0100

    Use \Patchwork\Utf8\Bootup::initLocale
---
 lib/private/util.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/private/util.php b/lib/private/util.php
index f285f83..d44ae09 100755
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -854,8 +854,8 @@ class OC_Util {
 			return true;
 		}
 
-		$result = setlocale(LC_ALL, 'en_US.UTF-8', 'en_US.UTF8');
-		if($result == false) {
+		\Patchwork\Utf8\Bootup::initLocale();
+		if ('' === basename('§')) {
 			return false;
 		}
 		return true;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list