Drop collation description cache.

It really does not improve performance much and it just consumes memory.
Anyway on most pages this function is called just once for each
collation, so all it does is filling up the cache but never using it.
This commit is contained in:
Michal Čihař
2010-07-26 13:29:29 +02:00
parent 412bdd6515
commit 15dfc4879e

View File

@@ -198,14 +198,6 @@ function PMA_getServerCollation() {
* @return string collation description
*/
function PMA_getCollationDescr($collation) {
static $collation_cache;
if (!is_array($collation_cache)) {
$collation_cache = array();
} elseif (isset($collation_cache[$collation])) {
return $collation_cache[$collation];
}
if ($collation == 'binary') {
return __('Binary');
}