From c2918c2002db8b02802e94137488b26ca56e7e16 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 14 Jul 2010 00:46:47 -0600 Subject: [PATCH] Disable this sort by default. Admins should really sort by hand if this isn't an acceptable sort in their language. Otherwise we are wasting a bunch of CPU cycles on every page for no good reason (sorting is not a trivial task). --- horde/config/nls.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/horde/config/nls.php b/horde/config/nls.php index 0d12f9517..96373e762 100644 --- a/horde/config/nls.php +++ b/horde/config/nls.php @@ -211,8 +211,9 @@ $horde_nls_config = array( ) ); -/* Sort encodings. */ -asort($horde_nls_config['encodings']); +/* Sort encodings. Disabled by default - encoding list is already sorted by + * default in English. */ +//asort($horde_nls_config['encodings']); /* BSD charsets. */ if (strpos(PHP_OS, 'BSD') !== false) { -- 2.11.0