From: Jens Frank Date: Tue, 26 Jul 2005 16:07:14 +0000 (+0000) Subject: Removed unused global X-Git-Tag: 1.5.0beta4~20 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=804f9a26d3912392d060331d8cda5a07e7f6da96;p=lhc%2Fweb%2Fwiklou.git Removed unused global --- 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 ); }