Remove unused global $wgLoadScript

This commit is contained in:
Platonides 2011-10-17 21:11:28 +00:00
parent 3a04a97eb9
commit c59a53aa0b

View file

@ -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 '';