From 7f9d8d4e15edbaf5c4a3ce500201c647428d097b Mon Sep 17 00:00:00 2001 From: Victor Vasiliev Date: Sat, 12 Apr 2008 18:15:17 +0000 Subject: [PATCH] And here also --- includes/filerepo/LocalRepo.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 ); -- 2.20.1