Commit a1828b23 authored by webchick's avatar webchick
Browse files

#710860 by Dave Reid and plach: Remove static caching from drupal_multilingual() (breaks tests).

parent 58f1f75e
......@@ -2091,11 +2091,7 @@ function drupal_language_types() {
* Return true if there is more than one language enabled.
*/
function drupal_multilingual() {
static $multilingual;
if (!isset($multilingual)) {
$multilingual = variable_get('language_count', 1) > 1;
}
return $multilingual;
return variable_get('language_count', 1) > 1;
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment