Removed unused global
authorJens Frank <jeluf@users.mediawiki.org>
Tue, 26 Jul 2005 16:07:14 +0000 (16:07 +0000)
committerJens Frank <jeluf@users.mediawiki.org>
Tue, 26 Jul 2005 16:07:14 +0000 (16:07 +0000)
includes/Image.php
includes/Linker.php

index e9f2f41..3e73621 100644 (file)
@@ -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';
index 3f35d9c..81e31e5 100644 (file)
@@ -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 );
                }