Commit e66499be authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Removed global $CFG that isn't even used in this function anymore.

Whitespace cleanup.
parent 7ae469a6
......@@ -20,7 +20,6 @@
* @return Internationalized string
*/
function smarty_function_str($params, &$smarty) {
global $CFG;
static $dictionary;
if (!isset($params['section'])) {
......@@ -32,7 +31,7 @@ function smarty_function_str($params, &$smarty) {
$args = array_merge($args,$params['args']);
}
$ret = call_user_func_array('get_string',$args);
$ret = call_user_func_array('get_string', $args);
// If there is an 'assign' parameter, place it into that instead.
if (!empty($params['assign'])) {
......
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