No need for $wgUser since r70653
authorPlatonides <platonides@users.mediawiki.org>
Thu, 12 Aug 2010 14:00:10 +0000 (14:00 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Thu, 12 Aug 2010 14:00:10 +0000 (14:00 +0000)
includes/Linker.php

index 7b3e5a5..64fb366 100644 (file)
@@ -440,7 +440,7 @@ class Linker {
                        return $res;
                }
 
-               global $wgContLang, $wgUser, $wgThumbLimits, $wgThumbUpright;
+               global $wgContLang, $wgThumbLimits, $wgThumbUpright;
                if ( $file && !$file->allowInlineDisplay() ) {
                        wfDebug( __METHOD__.': '.$title->getPrefixedDBkey()." does not allow inline display\n" );
                        return $this->link( $title );