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') {
|
||||
global $wgContribScoreDisableCache;
|
||||
|
||||
wfLoadExtensionMessages( 'ContributionScores' );
|
||||
|
||||
$output = "";
|
||||
|
||||
if ($wgContribScoreDisableCache) {
|
||||
$parser->disableCache();
|
||||
}
|
||||
|
|
|
@ -80,7 +80,7 @@ class ContributionScores extends IncludableSpecialPage {
|
|||
ORDER BY rev_count DESC
|
||||
LIMIT {$limit}";
|
||||
|
||||
$sql = "SELECT user_id, " .
|
||||
$sql = "SELECT user_id, " .
|
||||
"user_name, " .
|
||||
"page_count, " .
|
||||
"rev_count, " .
|
||||
|
@ -136,9 +136,7 @@ class ContributionScores extends IncludableSpecialPage {
|
|||
return $output;
|
||||
}
|
||||
|
||||
function execute( $par ) {
|
||||
global $wgRequest, $wgOut, $wgHooks;
|
||||
|
||||
function execute( $par ) {
|
||||
$this->setHeaders();
|
||||
|
||||
if( $this->including() ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue