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:
Eloy Lafuente (stronk7) 2021-11-24 19:44:30 +01:00
parent 18b2af60f5
commit ef76e24bf9

View file

@ -821,7 +821,7 @@ class core_renderer extends renderer_base {
* @return string HTML fragment. * @return string HTML fragment.
*/ */
public function standard_footer_html() { public function standard_footer_html() {
global $CFG, $SCRIPT; global $CFG;
$output = ''; $output = '';
if (during_initial_install()) { if (during_initial_install()) {
@ -862,7 +862,7 @@ class core_renderer extends renderer_base {
* @return string HTML fragment. * @return string HTML fragment.
*/ */
public function debug_footer_html() { public function debug_footer_html() {
global $CFG; global $CFG, $SCRIPT;
$output = ''; $output = '';
if (during_initial_install()) { if (during_initial_install()) {