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
|
* @return string html <script> and <style> tags
|
||||||
*/
|
*/
|
||||||
protected function makeResourceLoaderLink( $modules, $only, $useESI = false, array $extraQuery = array() ) {
|
protected function makeResourceLoaderLink( $modules, $only, $useESI = false, array $extraQuery = array() ) {
|
||||||
global $wgLoadScript, $wgResourceLoaderUseESI,
|
global $wgResourceLoaderUseESI, $wgResourceLoaderInlinePrivateModules;
|
||||||
$wgResourceLoaderInlinePrivateModules;
|
|
||||||
|
|
||||||
if ( !count( $modules ) ) {
|
if ( !count( $modules ) ) {
|
||||||
return '';
|
return '';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue