From: Michael M Slusarz Date: Wed, 14 Jul 2010 06:46:47 +0000 (-0600) Subject: Disable this sort by default. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=c2918c2002db8b02802e94137488b26ca56e7e16;p=horde.git 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). --- 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) {