From 9efab26ecd61c0fa7e2d8f10ae43baef9a6b8e42 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Fri, 13 Aug 2010 08:09:52 +0000 Subject: [PATCH] Remove a few more unused variables --- includes/GlobalFunctions.php | 1 - includes/ImagePage.php | 2 +- includes/db/DatabaseMssql.php | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) 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; -- 2.20.1