summaryrefslogtreecommitdiff
path: root/includes/debug/MWDebug.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/debug/MWDebug.php')
-rw-r--r--includes/debug/MWDebug.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/includes/debug/MWDebug.php b/includes/debug/MWDebug.php
index ae2d9954..1249ebae 100644
--- a/includes/debug/MWDebug.php
+++ b/includes/debug/MWDebug.php
@@ -432,10 +432,8 @@ class MWDebug {
// Cannot use OutputPage::addJsConfigVars because those are already outputted
// by the time this method is called.
- $html = Html::inlineScript(
- ResourceLoader::makeLoaderConditionalScript(
- ResourceLoader::makeConfigSetScript( array( 'debugInfo' => $debugInfo ) )
- )
+ $html = ResourceLoader::makeInlineScript(
+ ResourceLoader::makeConfigSetScript( array( 'debugInfo' => $debugInfo ) )
);
}