Remove unused global $wgLoadScript
This commit is contained in:
parent
3a04a97eb9
commit
c59a53aa0b
1 changed files with 1 additions and 2 deletions
|
|
@ -2369,8 +2369,7 @@ $templates
|
|||
* @return string html <script> and <style> tags
|
||||
*/
|
||||
protected function makeResourceLoaderLink( $modules, $only, $useESI = false, array $extraQuery = array() ) {
|
||||
global $wgLoadScript, $wgResourceLoaderUseESI,
|
||||
$wgResourceLoaderInlinePrivateModules;
|
||||
global $wgResourceLoaderUseESI, $wgResourceLoaderInlinePrivateModules;
|
||||
|
||||
if ( !count( $modules ) ) {
|
||||
return '';
|
||||
|
|
|
|||
Loading…
Reference in a new issue