Remove a few more unused variables
authorSam Reed <reedy@users.mediawiki.org>
Fri, 13 Aug 2010 08:09:52 +0000 (08:09 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Fri, 13 Aug 2010 08:09:52 +0000 (08:09 +0000)
includes/GlobalFunctions.php
includes/ImagePage.php
includes/db/DatabaseMssql.php

index c69cdad..66a2912 100644 (file)
@@ -3191,7 +3191,6 @@ function wfWaitForSlaves( $maxLag, $wiki = false ) {
  * Do not use it in any other context, its behaviour is subject to change.
  */
 function wfOut( $s ) {
-       static $lineStarted = false;
        global $wgCommandLineMode;
        if ( $wgCommandLineMode && !defined( 'MEDIAWIKI_INSTALL' ) ) {
                echo $s;
index 9d827ee..ee36ee8 100644 (file)
@@ -888,7 +888,7 @@ class ImageHistoryList {
                $description = $file->getDescription();
 
                $local = $this->current->isLocal();
-               $row = $css = $selected = '';
+               $row = $selected = '';
 
                // Deletion link
                if ( $local && ( $wgUser->isAllowed( 'delete' ) || $wgUser->isAllowed( 'deletedhistory' ) ) ) {
index 2103565..0c8125f 100644 (file)
@@ -74,7 +74,7 @@ class DatabaseMssql extends DatabaseBase {
 
                $this->close();
                $this->mServer = $server;
-               $this->mPort = $port = $wgDBport;
+               $this->mPort = $wgDBport;
                $this->mUser = $user;
                $this->mPassword = $password;
                $this->mDBname = $dbName;