From: Victor Vasiliev Date: Sat, 12 Apr 2008 18:15:17 +0000 (+0000) Subject: And here also X-Git-Tag: 1.31.0-rc.0~48408 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=7f9d8d4e15edbaf5c4a3ce500201c647428d097b;p=lhc%2Fweb%2Fwiklou.git And here also --- diff --git a/includes/filerepo/LocalRepo.php b/includes/filerepo/LocalRepo.php index a59da29fbf..4421583205 100644 --- a/includes/filerepo/LocalRepo.php +++ b/includes/filerepo/LocalRepo.php @@ -95,10 +95,7 @@ class LocalRepo extends FSRepo { } function checkRedirect( $title ) { - global $wgFileRedirects, $wgMemc; - if( !$wgFileRedirects ) { - return false; - } + global $wgMemc; if( is_string( $title ) ) { $title = Title::newFromTitle( $title );