diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-12-23 15:39:57 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-12-23 15:39:57 +0000 |
commit | 5cdeb4b4ad7e82a22328b4546493330198ef2ea1 (patch) | |
tree | e259147738d9a1d545734264efc0b89bbcdf9020 | |
parent | c28317a36c5b48be14d5e618d242e2fa11bd7ba8 (diff) | |
download | brdo-5cdeb4b4ad7e82a22328b4546493330198ef2ea1.tar.gz brdo-5cdeb4b4ad7e82a22328b4546493330198ef2ea1.tar.bz2 |
- Patch #665920 by v_20q: remove a comment inside t() function.
-rw-r--r-- | includes/common.inc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/includes/common.inc b/includes/common.inc index 9c0ec95b9..e6db76cd5 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1525,9 +1525,6 @@ function t($string, array $args = array(), array $options = array()) { $string = $custom_strings[$options['langcode']][$options['context']][$string]; } // Translate with locale module if enabled. - // We don't use function_exists() here, because it breaks the testing - // framework if the locale module is enabled in the parent site (we cannot - // unload functions in PHP). elseif (function_exists('locale') && $options['langcode'] != 'en') { $string = locale($string, $options['context'], $options['langcode']); } |