From: Sam Reed Date: Fri, 13 Aug 2010 08:09:52 +0000 (+0000) Subject: Remove a few more unused variables X-Git-Tag: 1.31.0-rc.0~35511 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=9efab26ecd61c0fa7e2d8f10ae43baef9a6b8e42;p=lhc%2Fweb%2Fwiklou.git Remove a few more unused variables --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index c69cdad6c4..66a2912a95 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -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; diff --git a/includes/ImagePage.php b/includes/ImagePage.php index 9d827ee9fe..ee36ee8574 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -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' ) ) ) { diff --git a/includes/db/DatabaseMssql.php b/includes/db/DatabaseMssql.php index 2103565c0c..0c8125f79e 100644 --- a/includes/db/DatabaseMssql.php +++ b/includes/db/DatabaseMssql.php @@ -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;