MDL-73160 profiling: Fix links to profiling runs
When debug_footer_html() was split from standard_footer_html() in MDL-71965 the $SCRIPT global declaration was left behind. This just moves it wherever it's needed.
This commit is contained in:
@@ -821,7 +821,7 @@ class core_renderer extends renderer_base {
|
||||
* @return string HTML fragment.
|
||||
*/
|
||||
public function standard_footer_html() {
|
||||
global $CFG, $SCRIPT;
|
||||
global $CFG;
|
||||
|
||||
$output = '';
|
||||
if (during_initial_install()) {
|
||||
@@ -862,7 +862,7 @@ class core_renderer extends renderer_base {
|
||||
* @return string HTML fragment.
|
||||
*/
|
||||
public function debug_footer_html() {
|
||||
global $CFG;
|
||||
global $CFG, $SCRIPT;
|
||||
$output = '';
|
||||
|
||||
if (during_initial_install()) {
|
||||
|
||||
Reference in New Issue
Block a user