Another big cull on unused variables and such
This commit is contained in:
parent
fe3076c95a
commit
0e15fc841d
2 changed files with 2 additions and 8 deletions
|
@ -53,10 +53,6 @@ function efContributionScores_LanguageGetMagic( &$magicWords, $langCode ) {
|
||||||
function efContributionScores_Render(&$parser, $usertext, $metric='score') {
|
function efContributionScores_Render(&$parser, $usertext, $metric='score') {
|
||||||
global $wgContribScoreDisableCache;
|
global $wgContribScoreDisableCache;
|
||||||
|
|
||||||
wfLoadExtensionMessages( 'ContributionScores' );
|
|
||||||
|
|
||||||
$output = "";
|
|
||||||
|
|
||||||
if ($wgContribScoreDisableCache) {
|
if ($wgContribScoreDisableCache) {
|
||||||
$parser->disableCache();
|
$parser->disableCache();
|
||||||
}
|
}
|
||||||
|
|
|
@ -137,8 +137,6 @@ class ContributionScores extends IncludableSpecialPage {
|
||||||
}
|
}
|
||||||
|
|
||||||
function execute( $par ) {
|
function execute( $par ) {
|
||||||
global $wgRequest, $wgOut, $wgHooks;
|
|
||||||
|
|
||||||
$this->setHeaders();
|
$this->setHeaders();
|
||||||
|
|
||||||
if( $this->including() ) {
|
if( $this->including() ) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue