Index: trunk/phase3/includes/Linker.php |
— | — | @@ -440,7 +440,7 @@ |
441 | 441 | return $res; |
442 | 442 | } |
443 | 443 | |
444 | | - global $wgContLang, $wgUser, $wgThumbLimits, $wgThumbUpright; |
| 444 | + global $wgContLang, $wgThumbLimits, $wgThumbUpright; |
445 | 445 | if ( $file && !$file->allowInlineDisplay() ) { |
446 | 446 | wfDebug( __METHOD__.': '.$title->getPrefixedDBkey()." does not allow inline display\n" ); |
447 | 447 | return $this->link( $title ); |