Commit 4ae1bfe5 authored by Nigel McNie's avatar Nigel McNie
Browse files

Use smarty_core() instead of smarty() to speed the creation of the performance info template.

parent eb31cd8f
......@@ -27,7 +27,7 @@ function smarty_function_mahara_performance_info($params, &$smarty) {
$info = get_performance_info();
$smarty = smarty();
$smarty = smarty_core();
foreach ($info as $key => $value) {
$smarty->assign('perf_' . $key, $value);
......
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