Commit 6078c16e authored by webchick's avatar webchick
Browse files

#279657 by zeta ζ: Code style improvement to locale module.

parent 867304f3
......@@ -806,7 +806,9 @@ function t($string, $args = array(), $langcode = NULL) {
global $language;
static $custom_strings;
$langcode = isset($langcode) ? $langcode : $language->language;
if (!isset($langcode)) {
$langcode = $language->language;
// First, check for an array of customized strings. If present, use the array
// *instead of* database lookups. This is a high performance way to provide a
Supports Markdown
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