Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
e66499be
Commit
e66499be
authored
Oct 20, 2006
by
Nigel McNie
Committed by
Nigel McNie
Oct 20, 2006
Browse files
Removed global $CFG that isn't even used in this function anymore.
Whitespace cleanup.
parent
7ae469a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/smarty/plugins/function.str.php
View file @
e66499be
...
...
@@ -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'
]))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment