From: Chad Horohoe Date: Tue, 11 Aug 2009 12:25:07 +0000 (+0000) Subject: Some unused $wgStyleVersions. X-Git-Tag: 1.31.0-rc.0~40359 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=4f2748c36c2c39532c9b8c770df4ada035920fb5;p=lhc%2Fweb%2Fwiklou.git Some unused $wgStyleVersions. --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index d60835e9d9..a7165c4626 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -117,7 +117,7 @@ class OutputPage { * @param string $file filename in skins/common or complete on-server path (/foo/bar.js) */ function addScriptFile( $file ) { - global $wgStylePath, $wgStyleVersion, $wgScript, $wgUser; + global $wgStylePath, $wgScript, $wgUser; global $wgJSAutoloadClasses, $wgJSAutoloadLocalClasses, $wgEnableScriptLoader, $wgScriptPath; if( substr( $file, 0, 1 ) == '/' ) { @@ -171,7 +171,7 @@ class OutputPage { * different page load types (edit, upload, view, etc) */ function addCoreScripts2Top(){ - global $wgEnableScriptLoader, $wgStyleVersion, $wgJSAutoloadLocalClasses, $wgScriptPath, $wgEnableJS2system; + global $wgEnableScriptLoader, $wgJSAutoloadLocalClasses, $wgScriptPath, $wgEnableJS2system; //@@todo we should deprecate wikibits in favor of mv_embed and native jQuery functions if( $wgEnableJS2system ){ @@ -228,7 +228,7 @@ class OutputPage { * @param $forcClassAry Boolean: false by default */ function getScriptLoaderJs( $forceClassAry = false ){ - global $wgStyleVersion, $wgRequest, $wgDebugJavaScript; + global $wgRequest, $wgDebugJavaScript; if( !$forceClassAry ){ $class_list = implode( ',', $this->mScriptLoaderClassList );