http://www.mediawiki.org/wiki/Special:Code/MediaWiki/84685
Revision: 84685
Author: ialex
Date: 2011-03-24 17:00:44 +0000 (Thu, 24 Mar 2011)
Log Message:
-----------
Removed unused globals
Modified Paths:
--------------
trunk/extensions/MathStatFunctions/MathStatFunctions.php
trunk/extensions/SemanticMediaWiki/includes/SMW_Setup.php
trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php
Modified: trunk/extensions/MathStatFunctions/MathStatFunctions.php
===================================================================
--- trunk/extensions/MathStatFunctions/MathStatFunctions.php 2011-03-24
15:52:17 UTC (rev 84684)
+++ trunk/extensions/MathStatFunctions/MathStatFunctions.php 2011-03-24
17:00:44 UTC (rev 84685)
@@ -420,7 +420,7 @@
}
function wfSetupMathStatFunctions( $parser ) {
- global $wgParser, $wgExtMathStatFunctions;
+ global $wgExtMathStatFunctions;
try {
if ( $wgExtMathStatFunctions === null ) {
Modified: trunk/extensions/SemanticMediaWiki/includes/SMW_Setup.php
===================================================================
--- trunk/extensions/SemanticMediaWiki/includes/SMW_Setup.php 2011-03-24
15:52:17 UTC (rev 84684)
+++ trunk/extensions/SemanticMediaWiki/includes/SMW_Setup.php 2011-03-24
17:00:44 UTC (rev 84685)
@@ -279,7 +279,7 @@
*/
function smwfSetupExtension() {
wfProfileIn( 'smwfSetupExtension (SMW)' );
- global $smwgIP, $smwgScriptPath, $wgHooks, $wgFooterIcons, $wgParser,
$wgExtensionCredits, $smwgEnableTemplateSupport, $smwgMasterStore,
$smwgIQRunningNumber, $wgLanguageCode, $wgVersion, $smwgToolboxBrowseLink,
$smwgMW_1_14;
+ global $smwgIP, $smwgScriptPath, $wgHooks, $wgFooterIcons,
$wgExtensionCredits, $smwgEnableTemplateSupport, $smwgMasterStore,
$smwgIQRunningNumber, $wgLanguageCode, $wgVersion, $smwgToolboxBrowseLink,
$smwgMW_1_14;
$smwgMasterStore = null;
$smwgIQRunningNumber = 0;
Modified: trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php
===================================================================
--- trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php
2011-03-24 15:52:17 UTC (rev 84684)
+++ trunk/extensions/SemanticMediaWiki/includes/SMW_SetupLight.php
2011-03-24 17:00:44 UTC (rev 84685)
@@ -246,7 +246,7 @@
*/
function smwfSetupExtension() {
wfProfileIn( 'smwfSetupExtension (SMW)' );
- global $smwgIP, $wgHooks, $wgParser, $wgExtensionCredits,
$smwgEnableTemplateSupport, $smwgMasterStore, $smwgIQRunningNumber,
$wgLanguageCode, $wgVersion, $smwgToolboxBrowseLink, $smwgMW_1_14;
+ global $smwgIP, $wgHooks, $wgExtensionCredits,
$smwgEnableTemplateSupport, $smwgMasterStore, $smwgIQRunningNumber,
$wgLanguageCode, $wgVersion, $smwgToolboxBrowseLink, $smwgMW_1_14;
$smwgMasterStore = null;
$smwgIQRunningNumber = 0;
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs