From 804f9a26d3912392d060331d8cda5a07e7f6da96 Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Tue, 26 Jul 2005 16:07:14 +0000 Subject: [PATCH] Removed unused global --- includes/Image.php | 2 +- includes/Linker.php | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/includes/Image.php b/includes/Image.php index e9f2f418ff..3e73621324 100644 --- a/includes/Image.php +++ b/includes/Image.php @@ -1245,7 +1245,7 @@ class Image * Record an image upload in the upload log and the image table */ function recordUpload( $oldver, $desc, $copyStatus = '', $source = '' ) { - global $wgUser, $wgLang, $wgTitle, $wgOut, $wgDeferredUpdateList; + global $wgUser, $wgLang, $wgTitle, $wgDeferredUpdateList; global $wgUseCopyrightUpload, $wgUseSquid, $wgPostCommitUpdateList; $fname = 'Image::recordUpload'; diff --git a/includes/Linker.php b/includes/Linker.php index 3f35d9c15a..81e31e56ce 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -131,7 +131,7 @@ class Linker { * Pass a title object, not a title string */ function makeLinkObj( $nt, $text= '', $query = '', $trail = '', $prefix = '' ) { - global $wgOut, $wgUser; + global $wgUser; $fname = 'Linker::makeLinkObj'; wfProfileIn( $fname ); @@ -223,7 +223,7 @@ class Linker { * Pass a title object, not a title string */ function makeKnownLinkObj( $nt, $text = '', $query = '', $trail = '', $prefix = '' , $aprops = '' ) { - global $wgOut, $wgTitle; + global $wgTitle; $fname = 'Linker::makeKnownLinkObj'; wfProfileIn( $fname ); @@ -359,7 +359,6 @@ class Linker { /** @todo document */ function makeExternalImage( $url, $alt = '' ) { - global $wgOut; if ( '' == $alt ) { $alt = $this->fnamePart( $url ); } -- 2.20.1