mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
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:
parent
18b2af60f5
commit
ef76e24bf9
1 changed files with 2 additions and 2 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue